Hi,
On Nov 20, 4:24 am, TreKing <[email protected]> wrote:
> 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.
>
> Subsequent calls to Activity.showDialog(DIALOG_ID) will then call
> onCreateDialog(int) again and let you recreate it as necessary based on what
> action the user took.

Yes, that's right. What I had wanted to do was pass a parameter into
showDialog(), if possible. My solution is to use an instance variable
to carry the state in.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to