AccessibleClickableSpan

Extends the ClickableSpan class to include a dedicated field for the accessibility label. This is useful in cases where we know what the span object will represent and its description is not easily obtainable from its actual contents. For example, the number of likers for a story might want to set the accessibility label to the corresponding plurals resource.

Constructors

Link copied to clipboard
constructor(accessibilityDescription: String? = null, accessibilityRole: String? = null)
constructor(accessibilityDescription: String?, accessibilityRole: String?, roleDescription: String?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun onClick(p0: View)
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun updateDrawState(p0: TextPaint)