With the old SwipeyTabs you could just simply use the onSwipeyTabSelected.onSwipeyTabSelected, now android released at june 2012 the PageTabStrip, which it is supossed to ease the work, and in fact it does for simple cases. But i haven't found any method that in fact allows me to detect the Selection of a tab, in example:
_______________________________
| |Tab1| Tab2|
_______________________________
if i swipe to the right and the Tab2 got selected:
_______________________________
|Tab1 |Tab2| Tab3|
_______________________________
How can i detect/trigger an event in my activity containing the PagerTabStrip that this tab was selected?
P.S. Forgive me the crappy ascii art :D