Package-level declarations

Types

Link copied to clipboard
class TtInformationControl @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = ID_NULL) : ConstraintLayout

A reusable UI control that can be used for displaying information.

Link copied to clipboard
data class TtInformationControlViewModel(val headImage: ImageDescriptor? = null, val primaryText: StringResolver? = null, val primaryIcon: DrawableResolver? = null, val secondaryText: StringResolver? = null, val secondaryIcon: DrawableResolver? = null, val tertiaryText: StringResolver? = null, val tertiaryIcon: DrawableResolver? = null, val onClick: () -> Unit? = null, val ratingBarValue: Float? = null, val ratingBarMaximumValue: Int = DEFAULT_RATING_BAR_MAXIMUM_VALUE, val ratingBarText: StringResolver? = null, val tailText: StringResolver? = null, val tailIcon: DrawableResolver? = null, val onTailSectionClick: () -> Unit? = null)

The ViewModel used to populate TtInformationControl.

Functions

Link copied to clipboard

Binds the given viewModel to a TtInformationControl. If viewModel is null, the contents of TtInformationControl will be cleared.