addLinks

fun addLinks(spannable: Spannable, callback: MatrixPermalinkSpan.Callback?): Boolean

Find the matrix spans i.e matrix id , user id ... to display them as URL.

Parameters

spannable

the text in which the matrix items has to be clickable.

callback

listener to be notified when the span is clicked