Merge pull request #64 from TouchInstinct/refactor/change_inner_navigation_reselect_listener_behaviour

Made reselectListener navigate to the root of ViewController backstack instead of navigate to the top of backstack.
This commit is contained in:
Даниил Борисовский 2019-09-09 18:56:52 +03:00 committed by GitHub
commit ea6f06d56b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)