Tuesday, September 27, 2011

[android-developers] popbackstack in fragmetns

Hello there, in my design I ve 4 ListFragments managed by a
FrameActivity with tabhosts. For every ListFragment i keep its
history (addToBackStack(String name)). Switching beetwen ListFragment
I want to clear the tab content and display the content of the new
ListFragment. In the FrameActivity I tried to achive with
popBackStack(String name, POP_BACK_STACK_INCLUSIVE), but it seems like
the first entry of the ListFragment I am popping back is added to a
transaction and executed at commit. Is this the correct way to achive
the behaviour I need?

Thanks

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate