--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-d...@googlegroups.com
To unsubscribe from this group, send email to
android-develop...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
I had seen and appreciate the putFragment() method of FragmentManager.
Quick follow-on question on that: you aren't necessarily guaranteed to
get back the same in-memory instance of a fragment saved with
putFragment() when you call getFragment(), but you won't be able to
tell the difference, unless you've used internal variables and not
saved/restored them in onSaveInstanceState() and one of the startup
callbacks, correct?
If fragment A wants to communicate with fragment B, I'm assuming that
fragment A must know whether or not fragment B is part of the current
activity, or would be in a separate activity (in the case this is
running on a smaller screen, or just because). Is that also true? I'm
assuming that a fragment manager is per activity, and that a fragment
in a different activity should not be directly "talking" to a fragment
in the first activity.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-d...@googlegroups.com
To unsubscribe from this group, send email to
android-develop...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
OK, that makes sense. Thanks Dianne.
-Gregg