SpinnerOption

class SpinnerOption

Data class to hold the spinner options

Constructors

Link copied to clipboard
fun SpinnerOption(text: String)
Link copied to clipboard
fun SpinnerOption(textRes: Int)
Link copied to clipboard
fun SpinnerOption(@StringRes textRes: Int, drawable: Drawable)
Link copied to clipboard
fun SpinnerOption(text: String, drawable: Drawable)
Link copied to clipboard
fun SpinnerOption(text: String, @DrawableRes drawableRes: Int)
Link copied to clipboard
fun SpinnerOption(@StringRes textRes: Int, @DrawableRes drawableRes: Int)

Functions

Link copied to clipboard
fun drawableTintRes(@ColorRes drawableTintRes: Int): SpinnerOption

Set tint of drawable.