showBottomDialog

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

Only for a low amount of items