Is it possible to make a button on an AlertDialog that doesn't automatically close the dialog?
Posted
by Parker
on Stack Overflow
See other posts from Stack Overflow
or by Parker
Published on 2010-04-08T03:20:55Z
Indexed on
2010/04/08
3:23 UTC
Read the original article
Hit count: 397
android
|alertdialog
I have a simple list view with some check boxes in an alert dialog. I need to option to add a select all/none but you can't bring up the menu in an alert dialog, and I want to do this function from a button. From what I've seen any kind of button (positive, neutral, and negative) all close the dialog regardless.
So, is this possible? If no, what alternatives do I have? My last mitigation is to simply create a new view and recreate everything. Is a new view the best solution?
© Stack Overflow or respective owner