Android - Prevent MultiChoice dialog item click -


i have following dialog :

alertdialog.builder builder = new alertdialog.builder(getcontext()); builder.setmultichoiceitems(itemsarray, selectionarray, this); builder.setpositivebutton("valider", new dialoginterface.onclicklistener() {     @override     public void onclick(dialoginterface dialoginterface, int i) {         dialoginterface.dismiss();     } }); builder.show(); 

i want cancel items click. when user click on items, want somehow return false , ignore click.
ideas ?


Comments

Popular posts from this blog

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -