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.

Constructors

Link copied to clipboard
constructor(tag: String, linkInteractionListener: LinkInteractionListener? = null)

Creates a tag-based clickable link annotation.

Properties

Link copied to clipboard

Interaction listener triggered when user interacts with this link.

Link copied to clipboard
val tag: String

A string identifier for this clickable link.

Functions

Link copied to clipboard
fun copy(tag: String = this.tag, linkInteractionListener: LinkInteractionListener? = this.linkInteractionListener): OudsLinkAnnotation.Clickable

Creates a copy of this clickable link with optionally modified properties.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String