TextContent

interface TextContent

An UI Element that contains textual content. This element can have more than one textual content. For example, one Mountable wrapping a complex custom view can have multiple text views, and therefore, multiple TextContent.Item

It is responsibility of who implements the Mountable to implement this interface and provide the correct properties.

Types

Link copied to clipboard
interface Item

Properties

Link copied to clipboard
abstract val items: List<TextContent.Item>
Link copied to clipboard
abstract val textList: List<CharSequence>

This is a helper method to retrieve the CharSequence that make up the textual content in this given TextContent