Option
An option is represented with at least a text. A drawable is optional but makes it easier to understand to the user.
Constructors
Link copied to clipboard
Link copied to clipboard
fun Option( @DrawableRes drawableRes: Int, titleText: String, subtitleText: String? = null, longClickListener: OptionLongClickListener? = null)
Content copied to clipboard
Link copied to clipboard
fun Option( @DrawableRes drawableRes: Int, @StringRes titleTextRes: Int, subtitleText: String? = null, longClickListener: OptionLongClickListener? = null)
Content copied to clipboard
Link copied to clipboard
fun Option( @DrawableRes drawableRes: Int, titleText: String, @StringRes subtitleTextRes: Int? = null, longClickListener: OptionLongClickListener? = null)
Content copied to clipboard
Link copied to clipboard
fun Option( @DrawableRes drawableRes: Int, @StringRes titleTextRes: Int, @StringRes subtitleTextRes: Int? = null, longClickListener: OptionLongClickListener? = null)
Content copied to clipboard
Link copied to clipboard
fun Option( titleText: String, subtitleText: String, longClickListener: OptionLongClickListener? = null)
Content copied to clipboard
Functions
Link copied to clipboard
Set default icon color.
Link copied to clipboard
Set default icon color.
Link copied to clipboard
Set default subtitle color.
Link copied to clipboard
Set default subtitle color.
Link copied to clipboard
Set default title color.
Link copied to clipboard
Set default title color.
Link copied to clipboard
Sheets applies by default a one-colored tint on the drawable representing an option. You can prevent this behavior in order to keep the original colors of the drawable.