• The androidx.navigationevent library provides a KMP-first API for handling system back as well as Predictive Back. The NavigationEventDispatcher serves as a common APIs for registering one or more NavigationEventCallback instances for receiving system back events.
• This layer sits below the previously released APIs in androidx.activity and aims to be a less opinionated replacement for using the Activity APIs in higher level components or directly using the Android framework OnBackInvokedDispatcher APIs. The androidx.activity APIs have been rewritten on top of the Navigation Event APIs as part of Activity 1.12.0-alpha01.
a
Arkadii Ivanov
06/15/2025, 9:12 PM
Thanks for the link, it makes it clear now. I read through the docs on NavigationEventDispatcher as well as NavigationEventDispatcherOwner but there was no info there. I also googled a lot without success and searched through this Slack workspace. I used to use the documentation as the primary source of information.