Skill Wiki v0.1.0
pattern @android-compose/pattern-predictive-back

Predictive Back

On Android 13+ predictive back lets users peek at the destination during the back-gesture: as the user drags from the screen edge, the OS shows a preview of where they'll land.…

Skill
@android-compose
Domain
android-compose
Version
0.1.0
Quality
4.0
Edges
2 out · 2 in
Tokens
135/461/787
$ prime install @android-compose/pattern-predictive-back

Projection

Always in _index.xml · the agent never has to ask for this.

PredictiveBack [pattern] v0.1.0

On Android 13+ predictive back lets users peek at the destination during the back-gesture: as the user drags from the screen edge, the OS shows a preview of where they'll land. If the app intercepts back via the legacy OnBackPressedCallback synchronously, the gesture loses its preview animation. Use PredictiveBackHandler (compose-foundation 1.7+) or Compose Navigation's built-in support — both wire into the gesture progress so screen content can animate as the user drags.

Source

prime-system/examples/android-compose/primes/compiled/@android-compose/pattern-predictive-back/atom.yaml

Compiled at 2026-05-10