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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -