Class FragmentController<F extends Fragment>

  • Type Parameters:
    F - a class of the fragment which is under control by this class.

    public class FragmentController<F extends Fragment>
    extends ComponentController<FragmentController<F>,​F>
    Native Fragments have been deprecated in Android P. Android encourages developers to use androidx fragments, to test these use FragmentScenario.
    FragmentController provides low-level APIs to control fragment's lifecycle.