SingleSelectionHelper

Functions

Link copied to clipboard
fun Activity?.showBottomDialog(items: List<String>, selectedIndex: Int, name: String, showApply: Boolean, dismissCallback: () -> Unit, callback: (Int) -> Unit)

Only for a low amount of items

Link copied to clipboard
fun Activity.showBottomDialogInstant(items: List<String>, name: String, dismissCallback: () -> Unit, callback: (Int) -> Unit): <Error class: unknown class>
Link copied to clipboard
fun Activity.showBottomDialogText(title: String, text: Spanned, dismissCallback: () -> Unit)
Link copied to clipboard
fun Activity?.showDialog(items: List<String>, selectedIndex: Int, name: String, showApply: Boolean, dismissCallback: () -> Unit, callback: (Int) -> Unit)
fun Activity?.showDialog(binding: <Error class: unknown class>, dialog: Dialog, items: List<String>, selectedIndex: List<Int>, name: String, showApply: Boolean, isMultiSelect: Boolean, callback: (List<Int>) -> Unit, dismissCallback: () -> Unit, itemLayout: Int = R.layout.sort_bottom_single_choice)
Link copied to clipboard
fun Activity?.showMultiDialog(items: List<String>, selectedIndex: List<Int>, name: String, dismissCallback: () -> Unit, callback: (List<Int>) -> Unit)
Link copied to clipboard
fun Activity.showNginxTextInputDialog(name: String, value: String, textInputType: Int?, dismissCallback: () -> Unit, callback: (String) -> Unit)
Link copied to clipboard
fun Activity?.showOptionSelectStringRes(view: View?, poster: String?, options: List<Int>, tvOptions: List<Int> = listOf(), callback: (Pair<Boolean, Int>) -> Unit)