LinkAnnotation.Clickable



An annotation that contains a clickable marked with tag. When clicking on the text to which this annotation is attached, the app will trigger a linkInteractionListener listener.

Summary

Public constructors

Clickable(
    tag: String,
    styles: TextLinkStyles?,
    linkInteractionListener: LinkInteractionListener?
)
Cmn

Public functions

open operator Boolean
equals(other: Any?)
Cmn
open Int
Cmn
open String
Cmn

Public properties

open LinkInteractionListener?

Interaction listener triggered when user interacts with this link.

Cmn
open TextLinkStyles?

Style configuration for this link in different states

Cmn
String
Cmn

Public constructors

Clickable

Clickable(
    tag: String,
    styles: TextLinkStyles? = null,
    linkInteractionListener: LinkInteractionListener?
)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

linkInteractionListener

open val linkInteractionListenerLinkInteractionListener?

Interaction listener triggered when user interacts with this link.

styles

open val stylesTextLinkStyles?

Style configuration for this link in different states

tag

val tagString