goBackToFragment

Go back to fragment whose tag matches with name

Receiver

FragmentActivity

Parameters

name

: Name of the tag.

flag

: Flag, Defaults to 0, optionally you can pass POP_BACKSTACK_INCLUSIVE


fun Fragment.goBackToFragment(name: String, flag: Int = 0)

Go back to fragment whose tag matches with name

Receiver

Fragment

Parameters

name

: Name of the tag.

flag

: Flag, Defaults to 0, optionally you can pass POP_BACKSTACK_INCLUSIVE