https://kotlinlang.org logo
#navigation-architecture-component
Title
# navigation-architecture-component
n

Nacho Ruiz Martin

10/09/2023, 3:47 PM
Hey 👋 After updating some libraries, when invoking
onBackPressed
on our Activities, navigation component’s
popBackStack
is not called, only
finish
, even if the graph is not on its root. Is this expected? Should we override the default back behaviour with
OnBackPressedDispatcher
to manually call
popBackStack
and
finish
when the backstack is cleared out?