@JvmOverloads fun <T> Context.selector(items: List<T>, callback: (DialogInterface, item: T, Int) -> Unit, title: String = "", cancelable: Boolean = true): Builder
Display SelectorDialog instantly
items
- list of display item, working with generic. it will display item.toString()
callback
- callback of click ok button
@JvmOverloads fun <T> Context.selector(items: List<T>, callback: F3<DialogInterface, T, Int>?, title: String = "", cancelable: Boolean = true): Builder
Display SelectorDialog instantly for SAM Conversion
items
- list of display item, working with generic. it will display item.toString()