Skill / SKILL.md

Navigation Event

android/skills

Intercept back gestures and run Predictive Back animations using the NavigationEvent (androidx.navigationevent) library in Compose Android. Handles Activity setup, parent-child dispatcher scoping in `ViewPagers` or tabs, Compose `NavigationBackHandler`, and migration from legacy `BackHandler` on SDK 36+.
2 views 10,784 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Intercept back gestures and run Predictive Back animations using the NavigationEvent (androidx.navigationevent) library in Compose Android. Handles Activity setup, parent-child dispatcher scoping in `ViewPagers` or tabs, Compose `NavigationBackHandler`, and migration from legacy `BackHandler` on SDK 36+.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/android/skills' skill-source

Use the complete skill-source/navigation/navigation-event directory with your client’s skill installer.

  • navigation/navigation-event

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory navigation/navigation-event

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Needs source review
Checked at
Pending source check
Content SHA-256
ae1f55299c3cf565206cde151c73a7e4b0d1021bc9f8d0b5019719fcee6d38ec
Format validation findings
  • Metadata requires string values.
Agent Skills specification
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills