-1

I have a view pager and it is showing content when it is in starting page but when we take that page from drawer activity it is not showing any content.Can anyone help me to solve out this?

Mariya
  • 35
  • 1
  • 9

1 Answers1

6

have you set the fragment and FragmentPagerAdapter ?

you can follow this tutor for create viewpager: https://github.com/codepath/android_guides/wiki/ViewPager-with-FragmentPagerAdapter

and this tutor link for combine drawer with viewpager http://www.devexchanges.info/2016/05/android-basic-training-course-combining.html