 <p>Currently you are applying both approach adding fragment and setting adapter remove one of them and for better use.</p> <p>Please follow <a href="https://github.com/codepath/android_guides/wiki/ViewPager-with-FragmentPagerAdapter" rel="nofollow">this</a> example to add fragment with view pager.</p>