Re: [android-developers] Managed dialogs with state changes

2009-11-19 Thread TreKing
You may want to clarify what you're asking, but if you mean you need to dynamically populate the contents of the dialog or set a different click listener based on what the user did to bring up the dialog, then you may want to simply call Activity.removeDialog(DIALOG_ID) after you're done with it.

[android-developers] Managed dialogs with state changes

2009-11-19 Thread Miguel Paraz
Hi, I have Dialog code whose actions in onClick() change, depending on a selected item on a ListView. I believe that Dialogs are better when managed, right? But, showDialog() and onPrepareDialog() don't give me a chance to change the dialog state. Does this mean, managed dialogs are meant for non-c