cómo resolver fragmentManager fm = getActivity (). getSupportFragmentManager ();

  fragmentAdapter=new FragmentAdapter(fm,getLifecycle());
  
Frightened Fox