I want to disable some items in ListView which is in the AlertDialog.
How may I do it?
Supply your own custom ListAdapter to the AlertDialog.Builder via setAdapter(). You can then override areAllItemsEnabled() and isEnabled() to enable/disable whatever you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With