-
public final class FragmentManagerExtKt
-
-
Method Summary
Modifier and Type Method Description final static UnitinitializeFragment(FragmentManager $self, @IdRes() Integer containerId, Function0<Fragment> provider)final static UnitreplaceFragment(FragmentManager $self, @IdRes() Integer containerId, Fragment fragment, String tag)final static Unitexecute(FragmentManager $self, Function1<FragmentTransaction, Unit> action)final static UnitshowDialogFragment(FragmentManager $self, String tag, Function0<DialogFragment> provider, Bundle args)-
-
Method Detail
-
initializeFragment
final static Unit initializeFragment(FragmentManager $self, @IdRes() Integer containerId, Function0<Fragment> provider)
-
replaceFragment
final static Unit replaceFragment(FragmentManager $self, @IdRes() Integer containerId, Fragment fragment, String tag)
-
execute
final static Unit execute(FragmentManager $self, Function1<FragmentTransaction, Unit> action)
-
showDialogFragment
final static Unit showDialogFragment(FragmentManager $self, String tag, Function0<DialogFragment> provider, Bundle args)
-
-
-
-