SpanFactory

interface SpanFactory
androidx.textclassifier.TextLinks.SpanFactory

A factory to create spans from TextLinks.

Summary

Public methods

abstract TextLinks.TextLinkSpan!
createSpan(@NonNull textLinkSpanData: TextLinks.TextLinkSpanData)

Creates a span from a text link.

Public methods

createSpan

abstract fun createSpan(@NonNull textLinkSpanData: TextLinks.TextLinkSpanData): TextLinks.TextLinkSpan!

Creates a span from a text link.