getTopInStack

open fun getTopInStack(@NonNull() fm: FragmentManager): Fragment

Return the top fragment in stack.

Return

the top fragment in stack

Parameters

fm

The manager of fragment.