start a fragment in a fragment code example
Example: how to start a fragment
HomeFragment fragment1 = new HomeFragment();
FragmentTransaction ft1 = getSupportFragmentManager().beginTransaction();
ft1.replace(R.id.content, fragment1, "");
ft1.commit();