dispatchBackPress

open fun dispatchBackPress(@NonNull() fragment: Fragment): Boolean

Dispatch the back press for fragment.

Return

{@code true}: the fragment consumes the back press{@code false}: otherwise

Parameters

fragment

The fragment.

open fun dispatchBackPress(@NonNull() fm: FragmentManager): Boolean

Dispatch the back press for fragment.

Return

{@code true}: the fragment consumes the back press{@code false}: otherwise

Parameters

fm

The manager of fragment.