PagerSlidingTabStrip implement guide
问题 I am trying to use this library in my app:https://github.com/astuetz/PagerSlidingTabStrip I read the documents but I didn't understand anything.I have two fragments so I want to place two tabs to my app.Where do I put the viewpager xml ? Where do I put the this code block: // Initialize the ViewPager and set an adapter ViewPager pager = (ViewPager) findViewById(R.id.pager); pager.setAdapter(new TestAdapter(getSupportFragmentManager())); // Bind the tabs to the ViewPager PagerSlidingTabStrip