Another fantastic article!
I implemented hiding the BottomNavigation for nested destinations and quitting the app on double tap back-press following these steps!
Just a quick question- What is the purpose of
Handler().postDelayed(2000) {
backPressedOnce = false
}
in the onBackPressed method?
And how would this be implemented in Java?
Thanks!