Reputation: 1044
I'm currently using a PagerTitleStrip in my app - with 3 screens - and everything works great - but I want when the app first starts to display the second screen! So basically the user can see the second screen and swipe right for the first screen and left for the third screen.
Can anyone tell me how can do this?
Upvotes: 0
Views: 181
Reputation: 1044
Silly question - I just had to set the second screen in the ViewPager using setCurrentItem(). Thank you for you're help!
Upvotes: 1
Reputation: 1335
You should just set the second screen in the ViewPager using setSelectedNavigationItem()
method of ActionBar
. The PagerTitleStrip
should be updated accordingly.
Upvotes: 0