Preference

data class Preference(val key: String, val title: UiText, val summary: UiText, val position: GroupedItemPosition = GroupedItemPosition.MIDDLE, val action: AboutItemAction? = null, val countsVersionTap: Boolean = false) : AboutItem(source)

An individual preference entry within a category card.

Constructors

Link copied to clipboard
constructor(key: String, title: UiText, summary: UiText, position: GroupedItemPosition = GroupedItemPosition.MIDDLE, action: AboutItemAction? = null, countsVersionTap: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard

Taps on this row advance the hidden version-tap counter that launches konfetti on the fifth one. It is a gesture layered on top of the row, not something the row does instead of its action, so it is a flag rather than an AboutItemAction.

Link copied to clipboard
open override val key: String

Unique, stable identifier used for LazyColumn item keys and analytics.

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