Probably a very basic question, but what is the difference between setting a ListViews
choice mode between CHOICE_MODE_MULTIPLE
and CHOICE_MODE_MULTIPLE_MODAL
? The Android documentation doesn't really explain much..
From Android Dev site:
CHOICE_MODE_MULTIPLE
: The list allows multiple choices
CHOICE_MODE_MULTIPLE_MODAL
: The list allows multiple choices in a modal selection mode
Well the documentation actually states the major difference.
CHOICE_MODE_MULTIPLE: The list allows multiple choices CHOICE_MODE_MULTIPLE_MODAL: The list allows multiple choices in a modal selection mode
Modal means the user HAS to interact with the window before continuing. Non modal, they do not.
If I'm not mistaken, CHOICE_MODE_MULTIPLE_MODAL
was added in the later APIs (11?) and is primarily used to indicate multiple selections using a Contextual ActionBar (CAB)
.
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