anko
anko copied to clipboard
Proposal: Add Multi Selector Dialog
Would be very useful if there is a multi selector dialog.
Something like:
multiSelector(title: String, items: List<String>, onClick: (dialog : DialogInterface, which: Int, isChecked: Boolean) -> Unit)
that matches this in java:
AlertDialog.Builder.setMultiChoiceItems(...)
Yes please. Was just looking to implement this, but could only find a single choice selector!
+1
There are Lots of sources telling anko is better than using XML - weird that such simple things are still Missing