Skip to content Skip to sidebar Skip to footer

ActionBar Tab's Fragments Blank When Switching Tabs:

I am using ActionBar.TabListener as listed here: Action Bar switching tabs automatically: I am adding a few tabs with tablistener as follows Tab 1 -> Fragment a -> fragment b

Solution 1:

This was asked a while ago, but you can try implementing your own TabListener and do a FragmentTransation.show() in onTabSelected() and a FragmentTransaction.hide() in onTabUnselected().


Post a Comment for "ActionBar Tab's Fragments Blank When Switching Tabs:"