jak Resolve fragmentManager fm = getActivity (). getSupportfragmentManager ();

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