I have seen two general practices to instantiate a new Fragment in an application:
Fragment newFragment = new MyFragment();
and
<
There is also another way:
Fragment.instantiate(context, MyFragment.class.getName(), myBundle)