I am somewhat confused about the simplest way of showing a Dialog from a Fragment. From what I can tell, i can call Fragment.getActivity().showDialog(), and then forward the call from the containing Activity back to the Fragment via Activity.onCreateDialog() - but this seems quite messy, since the Activity now has to know that the Fragment is using Dialogs.
Is there a better way to do this? To be clear, I have a Fragment that needs to show an AlertDialog (which does not need to be on any stack), not a Fragment which needs to /be/ an AlertDialog (like DialogFragment) -- 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

