sheets
sheets copied to clipboard
Option customisation support
Currently, there is no support for customizing Option based items. Example: a Font List, different colours depending on the index, etc.
Describe the solution you'd like Support customizing the title & subtitle TextViews completely like:
// Option
Option(/* Existing constructor args */, titleCust: (TextView.() -> Unit)? = null, subTitleCust: (TextView.() -> Unit)? = null)
// Usage
Option(R.drawable.menu_icon, "Menu Item", titleCust = { /*...*/ }, subTitleCust = { /*...*/ })