Dialog List Item
data class DialogListItem @JvmOverloads constructor(@StringRes val key: Int, @DrawableRes val icon: Int = 0, val isAlert: Boolean = false, val isDisabled: Boolean = false)
A Single item of selectable dialog list.
Parameters
key
the resource identifier of the string resource to be displayed.
icon
Resource identifier of the icon Drawable.
is Alert
Determine whether the item text uses an error color. If it sets true
, the text color will be shown as an error color.
is Disabled
Determine whether to disable the item.
Constructors
Link copied to clipboard
fun DialogListItem(@StringRes key: Int, @DrawableRes icon: Int = 0, isAlert: Boolean = false, isDisabled: Boolean = false)