Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
102 views

I have my composable MainNavHost which controls the navigation as shown using the new Navigation 3 library. The Scaffold here has my TopAppBar and BottomAppBar for navigating between the 4 major ...
0 votes
0 answers
159 views

I am developing an Android TV app using Jetpack Compose and D-pad navigation. My main screen UI looks like this: A Column as the main container The first item is a TVLazyRow or a normal LazyRow (...
0 votes
0 answers
61 views

So I have configured intent-filters in the manifest of the app, my app can be opened from other file browser/explorer apps class MainActivity : ComponentActivity() { override fun onCreate(...
2 votes
0 answers
87 views

Is there a proper example of type-safe navigation with nested graphs where one of the graphs includes a NavigationBar with its own screens, and an auth/splash/onboarding screen is removed from the ...
0 votes
0 answers
33 views

The current NavDeepLinkBuilder seemingly only supports setDestination(id: int) or setDestination(id: String). I'm using navigationCompose = "2.8.0". I tried to use MyRoute::class.serializer()...
0 votes
0 answers
32 views

I'm in certain situation where the problem seems hard to find proper answers, hope you guys can help me. MainScreen contains a Bottom Navigation, which has an Explore tab. This tab displays the movie ...
0 votes
0 answers
137 views

I'm using Compose TypeSafe navigation for my application. This is one of the extension function called in NavHost private fun NavGraphBuilder.loginNavigation(navController: NavHostController) { ...
0 votes
0 answers
78 views

I have the following nested graph: @Serializable private data object Onboarding @Serializable private data object OnboardingScreen1 @Serializable private data object OnboardingScreen2 @Serializable ...
0 votes
0 answers
394 views

I’m using Jetpack Navigation with Compose in my application, and I need to parse a URI that can originate from two different sources: 1. A QR code scanned internally within the app. 2. A deep link. ...
3 votes
0 answers
51 views

I need an implementation that follows this navigation pattern. For example, there are screens a, b, c, and d. The navigation sequence is a > b > d > c > b > d. When we are on screen d ...
0 votes
0 answers
57 views

I am making a Compose Multiplatform App and want to organize my layout based on the platform and screen size. I would like this layout on mobile : And this one for desktop : But the toolbar is ...
0 votes
0 answers
37 views

Is is possible to pass this as an arguments to compose navigation? Now I stil used navigation xml to change from page to another one I would like to change to navigation compose but I am not sure that ...
0 votes
0 answers
83 views

I'm working on a simple SoundBoard app to get familiar with Jetpack Compose and Navigation. I'm fairly new to both technologies and am struggling with this: Main view in the app is a grid-like view of ...
2 votes
0 answers
36 views

Problem There are three navigation graphs in my app as nested navigations : HomeGraph, ProfileGraph and MenuGraph. I want to achieve that when you navigate between these graphs through the ...
0 votes
0 answers
106 views

This is my NavGraph, here the destination "VerificationScreen/{verificationId}" is being called 4 times thus creating the viewmodel 4 times. What could be reason for this? @Composable fun ...
2 votes
0 answers
75 views

I have Splash screen (or any other Screen) which is calling API and changing state from Loading to Finished or Failed. This is my UiModel: @Immutable data class SplashUiModel( var state: ...
1 vote
0 answers
113 views

I work on Android TV app using Jetpack Compose. I follow the Guide and I want to make a page with multiple immersive views. I also want to be able to change focus from one to other immersive view and ...
3 votes
0 answers
528 views

If I scroll down, the top app bar collapses as expected, and then I navigate to another screen (for the first time) from the bottom bar - however, the top app bar is in the collapsed state (because I ...
1 vote
0 answers
224 views

This is the simplified version of my implementation of predictive back animation using jetpack navigation lib. MainActivity: class MainActivity : AppCompatActivity() { private lateinit var ...
1 vote
0 answers
98 views

I'm encountering an issue with Jetpack Compose deeplinks where they're consistently redirecting to the ResetPasswordRoute destination, despite having different uriPattern configurations. Here's an ...
4 votes
0 answers
455 views

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 ...
1 vote
0 answers
614 views

I have 2 activities. Main activity, let's call A has the navigation controller setup with Compose. The navigation controller works fine and it uses the same everywhere (No duplicated NavHostController)...
0 votes
0 answers
24 views

I'm using jetpack navigation, but when I try to do a global navigation, I got an IllegalArgumentException: java.lang.IllegalArgumentException: Navigation action/destination com.myexample:id/...
2 votes
0 answers
371 views

I saw an issue in android compose navigation. I have a simple app with two screens, each containing a button to the other screen, each screen have a log statement in the begining. On pressing the ...
2 votes
0 answers
707 views

Hello there guys 😄 We've decided to rewrite our app to compose. However we've faced a performance issue, specially on slower devices (like my Xiaomi POCO X3). On Samsung S22 and on any emulator ...
0 votes
0 answers
282 views

I would like to ask about possibility to modify backstack and navigate to previous screen when app is not in foreground with Jetpack Compose approach (without fragments) My case: App1 opens list apps ...
0 votes
0 answers
140 views

I'm trying to create an application with 2 pages with jetpack compose On the first page users would enter their sign-in information such as first name, last name, id, and date of birth, and then on ...
2 votes
0 answers
91 views

So, I've been following this article. The code below shows the snackbar state, how do I add modifier in the below code so that I can have the snackbar show in top or bottom area. My goal is to somehow ...
2 votes
0 answers
31 views

Here is Code for the reference I have 3 navgraphs one for rootNavs and 2nd one for authentication and 3rd one for in app navigation/bottombar navigation RootNavGraph @Composable fun RootNavGraph(...
1 vote
0 answers
261 views

hi I want create app like complete 3D module in jetpack compose in android can anybody please suggest me any thing do good library or modules for this, thanks in advance.
2 votes
0 answers
304 views

I'm doing UI testing for a Jetpack Compose app. My question is, can you navigate on the previous screen using the SwipeRight() gesture? I've already tried it but it hasn't allowed me yet, I don't know ...
0 votes
0 answers
246 views

I've been trying to create a custom saver for my app state in Jetpack Compose such: object MainAppSaver:Saver<AppState, Map<String, Any>> { override fun restore(value: Map<String,...
0 votes
0 answers
47 views

While navigating to other screens, Jetpack compose navigation in SignUpScreen.kt fails to navigateTo LoginScreen.kt. I used sealed class to define the screens and data object to define sub-screens. ...
2 votes
0 answers
510 views

below is a part of my code, (full code can be found here). The problem is that the destination content/{mode} (last destination) is automatically popped, when app gets minimized. What should I do to ...
2 votes
0 answers
508 views

I'm working on an Android app using Jetpack Compose and I need to implement Alarm Clock functionality. This in itself is working but I'm trying to figure out how to launch a Composable Screen (i.e., ...
0 votes
0 answers
326 views

So we refactored our app to start using Jetpack compose problem is we encountered a problem. So it was easy to refactor the other screens but when it came to this main screen it has more logic and ...
0 votes
0 answers
47 views

When the Dropdown Menu is opened, there is a flicker in the navigation keys. When I create a new application with the same codes, there is no problem, but this flicker occurs in my current application....
6 votes
0 answers
2k views

Is there a way to dynamically change NavHost's startDestination parameter at runtime? Problem: I would like to show on boarding screen only the first time you start the app. Every next time it is ...
1 vote
0 answers
34 views

I received a data list from the server and based on that list, I programmatically created layouts and views. The layout is composed of a ConstraintLayout containing TextView, RadioGroup, and ...
1 vote
0 answers
1k views

I have started learning Android Jetpack Compose and I come across Compose Destination library which is the best for navigation. But now I am stuck on the navigation transition part where I want to ...
1 vote
0 answers
41 views

I have three screens. A, B and C. A -> B -> C What I want is that when I navigate to C with implicit deeplink (e.g. with a url), when back button is pressed, app goes to B, not A.
2 votes
0 answers
731 views

Suppose I have the following setup: nav_graph_a.xml Fragment A (start destination) includes nav_graph_b nav_graph_b.xml Fragment B (start destination) Fragment C (has a deep link to it) And an ...
1 vote
0 answers
563 views

I'm working on a multi module compose project where I'm having difficulty navigating from one module to another the module dependancy is follows as bellow: common module (common ui component for ...
1 vote
0 answers
328 views

Question: When navigating to another screen ( Home Screen ) from Login, the state of Login Composable persists and when coming back( Logging out ) from the HomeScreen, the logic brings to Home ...
1 vote
0 answers
195 views

every time i try to navigate from a jetpack compose activity to an xml activity the app crashes and i get this error : Process: Sending signal. PID: 4409 SIG: 9 i am confused about what to do in order ...
6 votes
0 answers
551 views

I am using the Jetpack Navigation library, Graph A is a graph similar to Login, where Graph B is the main content containing a BottomNavigationView, the problem occurs in one scenario only. User is ...
1 vote
0 answers
147 views

Using latest Navigation component libraries 2.5.3. I am encountering the classic crash Fatal Exception: java.lang.IllegalArgumentException Navigation action/destination **:id/...
4 votes
0 answers
1k views

val navController = rememberNavController() NavHost(navController = navController, startDestination = "main") { composable("main"){ mainscreen(navController) ...
1 vote
0 answers
892 views

I am building the navigation graph dynamically and the code that calls navigate() finds that the route is not present yet. That may be a race condition or a bug but I still want to handle it ...
3 votes
0 answers
763 views

I have a scenario with three screens. First the main screen A. Lastly two screens with parameters: screen B("screenB?arguments={arguments}}") and screen C("screenC?arguments={arguments}&...