Android TabListener:Constructing Fragments before onTabSelected?

view full story

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.getSupportFragmentManager(); and ft return null for some odd reason. So I cannot create the fragment that I need. The reason for this is, I have a webview fragment and a list fragment each in one tab when the list e (HowTos)