Make reselectListener navigate to the root of ViewController backstack
This commit is contained in:
parent
ad4712d770
commit
d284389a89
|
|
@ -30,7 +30,7 @@ abstract class BottomNavigationFragment : Fragment() {
|
|||
|
||||
protected abstract val navigationViewControllers: SparseArray<Pair<Class<out ViewController<*, *>>, Parcelable>>
|
||||
|
||||
protected open val reselectListener: (() -> Unit) = { getNavigationActivity().innerNavigation.up() }
|
||||
protected open val reselectListener: (() -> Unit) = { getNavigationActivity().innerNavigation.up(inclusive = true) }
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
|
|
|
|||
Loading…
Reference in New Issue