Is it feasible to allow for sidebar navigation on Android? #149
-
I'm fairly new to the space of native navigation, so I don't know which limits are imposed on us. I have this idea that I want tablets in landscape mode to have their navigation on the right side rather than on the bottom/top. I noticed that this library exposes a Now I'm curious, is it feasible to support something similar for Android tablets? Based on my brief understanding, it may not be, because this library defers to whatever the default native behavior is, if there even is such a thing as a "default native behavior"? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hey! Yes I think it's doable, Jetpack Compose offers something like this: https://developer.android.com/develop/ui/compose/layouts/adaptive/build-adaptive-navigation Where the bottom bar changes to sidebar and then drawer on bigger devices. This library is not using jetpack compose due to some compatibility issues with React Native / RNScreens but I think it should be possible to recreate this behaviour using non compose views. |
Beta Was this translation helpful? Give feedback.
-
@jgarplind I've got a POC of this working :) https://x.com/o_kwasniewski/status/1858620684706214095 It's a pretty big change and still pretty unstable, might take a while to get it released |
Beta Was this translation helpful? Give feedback.
Since this is available in Jetpack Compose (Native way) this library should also support it. Once this is added we could add a function to determine which type of view to show manually. Thanks for this suggestion