AndroidX Activity 1.12.0-alpha03

1.12.0-alpha03
Changed 1
  • OnBackPressedDispatcher and NavigationEventDispatcher are now both initialized lazily in ComponentActivity.
Fixed 1
  • OnBackPressedDispatcher now only notifies the latest dispatcher an OnBackPressedCallback was added to of its enabled state.

From AndroidX Activity

OnBackPressedDispatcher and NavigationEventDispatcher are now both initialized lazily in ComponentActivity. ( I710e6) OnBackPressedDispatcher: Only the latest dispatcher an OnBackPressedCallback was added to being notified of its enabled state ( b/418715930)

View original

Upgraded? How did it go?

Discussion