Package-level declarations

Types

Link copied to clipboard
open class TtTabBar @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : LinearLayout

This control is used for a list of tabs and reacts to clicks on each tab. To know when the selected tab changes, register an OnSelectedTabIndexChangedListener.

Link copied to clipboard
data class TtTabItem(val text: StringResolver? = null, val icon: ImageSource? = null)

A class that holds the data of a tab.

Functions

Link copied to clipboard

An inverse binding adapter that adds support for two-way data binding for TtTabBar.ttSelectedTabIndex.

Link copied to clipboard
fun TtTabBar.setSelectedTabIndexChangedListener(listener: InverseBindingListener?)

A binding adapter that adds support for two-way data binding for TtTabBar.ttSelectedTabIndex.