I display information in a frame by instantiating fragment A and showing
it with calls to ft.add().addToBackStack(). Later, a user selection
causes fragment B to be displayed in that frame. When the user presses
the Back button, it returns to showing frag A, and another press of Back
results in an empty frame.
This is all working well, but what I've observed is that there is no
visible difference in behavior whether I show frag B by calling
ft.replace().addToBackStack() or ft.add().addToBackStack(). So what is
the difference behind the scenes between these two methods?
Doug Gordon
GHCS Software
--
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