http://stackoverflow.com – I am having issues using the Creating Fragments before, the onTabSelected. The reason for doing this is that I have other pieces of code referencing the fragment and when the fragment is actually not in place when the code tries to reference the fragment it is returned null. I figured I could just create the fragments in the constructor the issue is FragmentManager fm = mActivity.getSupportFragme (HowTos)