I would like to create a Dialog which is managed by the creating
Activity (showDialog(int)). My Dialog needs a couple of parameters.
The documentation suggests that I use onPrepareDialog to pass my
parameters to the dialog. This can yield code that is less than
elegant. First I need to store the two parameters I need to pass to
the dialog in the onPrepareCall in local variables (for temporary
storage). This approach is error prone, not to mention that the code
becomes difficult to read. Why can't we have a Bundle parameter to
showDialog which we could use to pass the parameters to to the dialog.
It seems to me that would be better.

I would like to use the dialog management available in Android but for
the reasons mentioned above I hesitate to do it. I actually tried it
and it came out as I expected. I hope I'm missing something.
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to