Skip to content Skip to sidebar Skip to footer

Tabhost Obtaining Previous Tab After A Tab Change

I have a TabHost and have set an onTabChangeListener. In onTabChange() is it possible to determine the previous tab?

Solution 1:

Probably not, you'll have to store that information yourself. Just keep a record of previous tab in your class that listens for onTabChange()


Post a Comment for "Tabhost Obtaining Previous Tab After A Tab Change"