Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

TextLinks.SpanFactory

public static interface TextLinks.SpanFactory

androidx.textclassifier.TextLinks.SpanFactory


A factory to create spans from TextLinks.

Summary

Public methods

abstract TextLinks.TextLinkSpan createSpan(TextLinks.TextLinkSpanData textLinkSpanData)

Creates a span from a text link.

Public methods

createSpan

public abstract TextLinks.TextLinkSpan createSpan (TextLinks.TextLinkSpanData textLinkSpanData)

Creates a span from a text link.

Parameters
textLinkSpanData TextLinks.TextLinkSpanData

Returns
TextLinks.TextLinkSpan