showHide

open fun showHide(showIndex: Int, @NonNull() fragments: List<Fragment>)

Show fragment then hide other fragment.

Parameters

showIndex

The index of fragment will be shown.

fragments

The fragments will be hide.

open fun showHide(@NonNull() show: Fragment, @NonNull() hide: List<Fragment>)
open fun showHide(@NonNull() show: Fragment, @NonNull() hide: Array<Fragment>)
open fun showHide(@NonNull() show: Fragment, @NonNull() hide: Fragment)

Show fragment then hide other fragment.

Parameters

show

The fragment will be show.

hide

The fragment will be hide.

open fun showHide(showIndex: Int, @NonNull() fragments: Array<Fragment>)

Show fragment then hide other fragment.

Parameters

showIndex

The index of fragment will be shown.

fragments

The fragment will be hide.