TabItem

sealed class TabItem

Tab item can have two Implementations Text only and Text and Icon.

Inheritors

Types

Link copied to clipboard
data class Icon(val title: String, @DrawableRes val iconId: Int, val enabled: Boolean = true) : TabItem

Icon TabItem allows tabs with Text and Icon.

Link copied to clipboard
data class Text(val title: String, val enabled: Boolean = true) : TabItem

Text TabItem only allow tabs with Text.

Properties

Link copied to clipboard
open val enabled: Boolean = true

either if tab is enabled or not.

Link copied to clipboard
open val title: String

localized Text that will show as Tab title.