appyx
appyx copied to clipboard
Gesture navigation
Explore and create an API for navigating with gestures
Also please note Android 13 predictive back gesture. Support for it would be awesome! https://developer.android.com/guide/navigation/predictive-back-gesture
@amal I think it's already in place https://github.com/bumble-tech/appyx/pull/32
@KovalevAndrey it's awesome, thank you!
I'm curious, what's the reason for promoting this instead of encouraging people to use, say, horizontal pager from Accompanist?
@saket having a consistent API is one of the reasons. You could easy change from a full screen implementation to horizontal pager without a potentially substantial refactor.
@saket NavModel
at any given level of the tree coordinates navigation of the subtree. It allows us to keep our codebase organised in a tree structure, and use to use parent-child api, etc. Implementing it with, say, horizontal pager breaks this tree structure.