TextLinks.TextLinkSpan


abstract class TextLinks.TextLinkSpan : ClickableSpan

Known direct subclasses
TextLinks.DefaultTextLinkSpan

This class is deprecated.

You may create your own custom span by calling apply.


A ClickableSpan for a TextLink.

You can implement the onClick function to specify the on click behavior of the span.

Summary

Public constructors

Public functions

TextLinks.TextLinkSpanData

Returns the data that is relevant to this span.

Public constructors

TextLinkSpan

TextLinkSpan(textLinkSpanData: TextLinks.TextLinkSpanData)

Public functions

getTextLinkSpanData

fun getTextLinkSpanData(): TextLinks.TextLinkSpanData

Returns the data that is relevant to this span.