Google is committed to advancing racial equity for Black communities. See how.

FragmentAction

interface FragmentAction<F : Fragment>
androidx.fragment.app.testing.FragmentScenario.FragmentAction

Summary

Public methods
abstract Unit
perform(fragment: F)

This method is invoked on the main thread with the reference to the Fragment.

Public methods

perform

abstract fun perform(fragment: F): Unit

This method is invoked on the main thread with the reference to the Fragment.

Parameters
fragment: F a Fragment instrumented by the FragmentScenario.