Re: [android-developers] Direct pointers to fragments

2011-02-18 Thread Satya Komatineni
Ok. got it. thanks On Fri, Feb 18, 2011 at 12:45 PM, Dianne Hackborn wrote: > Like I said, there are APIs on FragmentManager to put a Fragment pointer in > a Bundle and pull it out again, which work across state save/restore. > Though probably just as often, you can just use a tag name (or view I

Re: [android-developers] Direct pointers to fragments

2011-02-18 Thread Dianne Hackborn
Like I said, there are APIs on FragmentManager to put a Fragment pointer in a Bundle and pull it out again, which work across state save/restore. Though probably just as often, you can just use a tag name (or view ID) for the fragment and later re-retrieve it when being created though findFragment

[android-developers] Direct pointers to fragments

2011-02-18 Thread Satya Komatineni
You say one can hold direct pointers (not just their references such as id and tag) to fragments of an activity. won't these pointers go stale across save/restore of either an activity or fragment? May be a "targetfragment" pointer may be retrofitted by the fragment manager (perhaps!!). How is th