All Questions
Tagged with android-jetpack-compose navigation
155
questions
0
votes
1
answer
32
views
How to know if my composable screen was open trough a deepLink
I have an activity with several composable screens.
Each screen has the feature to be opened with an intent or by user click.
Also, each composable screen has a back arrow.
What I want to do is to ...
0
votes
0
answers
22
views
navigation compose java.lang.NoSuchMethodError: No static method composable
I have problem in my HomeRegisterer class. I didn't understand where the problem in my HomeRegisterer class
FATAL EXCEPTION: main
Process: com.example.navigationexamples, PID: 6436
java.lang....
0
votes
1
answer
23
views
Pop to Root in Jetpack Compose
If I log the NavController's back stack, I notice the root entry has a NavDestination.id of 0x0. Is it bad practice/is there a better documented way of popping to root other than merely saying
...
0
votes
0
answers
101
views
How to properly add screen transition animations in jetpack compose?
I want to add transition animations while navigating from one screen to another in my app.
I have three screens in my app. When i navigate from the first screen to the second screen and also navigates ...
1
vote
1
answer
41
views
Combine BottomNavigation with List - Detail navigation with animations in Jetpack compose
Given a typical app with some bottom bar buttons and sections in which users can navigate from list to detail, ideally I'd like to keep the nice default fade effect for bottom bar transitions, and ...
2
votes
0
answers
133
views
Compose Navigation Animation not working with latest navigation compose library 2.8.0-beta02
I was using slide animations for navigating between screens in Jetpack Compose Navigation using string-based route navigation and everything was working fine. But now I have upgraded the navigation ...
2
votes
0
answers
33
views
How to view guides for previous versions of Jetpack Compose Navigation
I am trying to work on bringing my Android code up to standard with the guidance given here - Encapsulate your navigation code However, I don't have the toRoute method mentioned. I do some digging ...
0
votes
1
answer
58
views
How to properly navigate a webview when the base URL isn't changing Jetpack Compose
I have a navbar with a back button that navigates through my application properly. There is a screen that opens a webview and I tried to edit the navbar so that it navigates within the Webview first ...
3
votes
1
answer
209
views
Using the voyager navigation to handle back pressed after login screen, should pop the login screen
I am using the voyager library for navigation in my android app.
https://voyager.adriel.cafe/navigation/
version 1.0.0
But I have an issue with navigation from the login screen to the home screen.
...
3
votes
0
answers
332
views
Android Jetpack Compose Navigation 2.8.0 - Return result object - popBackStack(route)
I have a fairly complicated app, where there are screens that open an other screen, and await different values (even objects parsed as JSON Strings) as a result. Then the values are set/changed ...
0
votes
0
answers
23
views
Correct Navigation Graph Approach to have both Buyer and Seller Functionality in a single app?
Is this way to have both functionality of a buyer and seller in single app correct? Tell me the best approach to declare navigation for both of them and also the whole navigation is wrapped in a ...
0
votes
0
answers
12
views
why when i navigate from profile screen to login screen, the app navigate to home screen
i build an compose application and i want to logout and navigate to login screen but app navigate to home screen, i use bottom navigation bar and nested navigation.
this is the button that will logout:...
0
votes
0
answers
47
views
In Jetpack Compose how can I navigate from a Scaffold with bottom navigation to where I came from?
I have a Scaffold with a bottom navigation. I navigate to this Scaffold from a root NavGraph when the user log in successfully. I made a completely new NavGraph which I call in the content section of ...
0
votes
1
answer
23
views
Jetpack Compose Simple Bottom Navigation
I’m currently working on an Android application using Jetpack Compose and I’m trying to implement a bottom navigation bar.
I have defined a sealed class for my navigation items, each with a route, ...
0
votes
0
answers
42
views
Navigation to a certain DeepLink does not check for authentication first
I'm trying to implement a way to check if the user is authenticated before navigating to a certain destination.
This works if I place the authentication logic inside the start destination inside my ...