TextLinks.TextLinkSpan


public abstract class TextLinks.TextLinkSpan extends 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 methods

final @NonNull TextLinks.TextLinkSpanData

Returns the data that is relevant to this span.

Public constructors

TextLinkSpan

public TextLinkSpan(@NonNull TextLinks.TextLinkSpanData textLinkSpanData)

Public methods

getTextLinkSpanData

public final @NonNull TextLinks.TextLinkSpanData getTextLinkSpanData()

Returns the data that is relevant to this span.