i\'m trying to display new fragment with TabBar and View Pager after click on the Navigation drawer item.
Problem is that newly created Fragment is causing NULL poin
change:
mAdapter = new TabsPagerAdapter(getActivity().getSupportFragmentManager())
to:
mAdapter = new TabsPagerAdapter(getChildFragmentManager())
when you are using fragment inside another fragment you must use ChildFragmentManager not FragmentManager.
ChildFragmentManager
FragmentManager