TextLinks.TextLinkSpan

public static class TextLinks.TextLinkSpan
extends ClickableSpan

java.lang.Object
   ↳ android.text.style.CharacterStyle
     ↳ android.text.style.ClickableSpan
       ↳ android.view.textclassifier.TextLinks.TextLinkSpan


A ClickableSpan for a TextLink.

Applies only to TextViews.

Summary

Public constructors

TextLinks.TextLinkSpan(TextLinks.TextLink textLink)

Public methods

final TextLinks.TextLink getTextLink()
void onClick(View widget)

Performs the click action associated with this span.

Inherited methods

Public constructors

TextLinks.TextLinkSpan

TextLinks.TextLinkSpan (TextLinks.TextLink textLink)

Parameters
textLink TextLinks.TextLink

This value must never be null.

Public methods

onClick

void onClick (View widget)

Performs the click action associated with this span.

Parameters
widget View