alertDialog ListView checkbox desactivation
Bonjour,
J'affiche une alertDialog comportant un choix multiple mais je voudrais qu'un élement de cette liste soit désactiver afin de ne pouvoir séléctionner cet élément.
Voici mon code utilisé:
Code:
1 2 3 4 5 6 7 8
|
AlertDialog ab = new AlertDialog.Builder(BaseAllActivity.this)
.setTitle(R.string.choice)
.setMultiChoiceItems(_options, _selections,
new DialogSelectionClickHandler())
.setNegativeButton("OK", new DialogButtonClickHandler())
.create();
ab.show(); |
Comment faire?
Merci.