Reputation: 1
I tried to implement PagerSlidingTabStrip
http://www.androidviews.net/2013/04/pager-sliding-tabstrip/
in Fragment in place FragmentActivity, but unsuccessful. Does anyone have experience with this? Thanks.
Upvotes: 0
Views: 1971
Reputation: 5425
Why don't you try my other post and see if that matches with your question :
How to properly use fragments with ViewPager?
After setting the view pager, only thing you need to do is:
PageIndicatorLib mIndicator = (PageIndicatorLib) findViewById(R.id.simplecircle);
mIndicator.setViewPager(myPager);
Here, assume that the PagerIndicatorLib is the library project you will be using for the indicator stuff. Like I mentioned in the comment.
Upvotes: 1