Android View Pager Adapter shows empty screen
Just Check if you are using getFragmentManager()
to initialize the adapter , Try using getChildFragmentManager()
like this :
mAdapter = new MyPagerAdapter(getChildFragmentManager());
viewPager.setAdapter(mAdapter);
Use this,
public class MyPagerAdapter extends android.support.v4.app.FragmentStatePagerAdapter