Skip to main content
3 votes
1 answer
146 views

My app has a modal navigation drawer to navigate between home page and target page. I tried to launch the app and navigate to the target page by tapping a notification containing a deeplink intent, ...
Sijayyx's user avatar
  • 33
2 votes
2 answers
135 views

It is common that onClick lambdas (call methods that) perform viewModelScope.launch { ... }. I see a possible race condition here, the viewModelScope may be cancelled before the launched action is ...
18446744073709551615's user avatar
2 votes
1 answer
347 views

In the previous XML-based Android development, it was relatively straightforward to track screen views in Google Analytics by using separate activities for each screen. Now that I’m using Jetpack ...
Curious Head's user avatar
1 vote
1 answer
297 views

I've been learning android app development the past week and I'm trying to set custom icons for the navigation bar at the bottom of the screen. The NavItems data class is given below: package com....
jkr666's user avatar
  • 13
1 vote
2 answers
193 views

I just updated the dependencies for: androidx-navigation3-runtime = { module = "androidx.navigation3:navigation3-runtime", version.ref = "nav3Core" } androidx-navigation3-ui = { ...
Always Learner's user avatar
0 votes
1 answer
55 views

I'm using Navigation Component + Hilt DI. I have a Navigation Destination Fragment which hosts a viewpager with 2 fixed fragments. What is the right way to Instantiate the ViewModels within those ...
rdias002's user avatar
  • 234
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 ...
Heck Codes's user avatar
0 votes
0 answers
23 views

I've successfully implemented jetpack component and that is navigation controller. I'm encoutering an issue where fragments are recreated when navigating back to previoud fragment. Does anyone know ...
Harshil Kakadiya's user avatar
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 (...
Meet's user avatar
  • 1,040
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(...
user924's user avatar
  • 12.9k
1 vote
1 answer
113 views

Is there a way to know what screen a NavHost is currently on using the new Navigation in Jetpack compose, The route of the backstackentry returns the serialized form of the screen but I haven't found ...
alof's user avatar
  • 11
0 votes
2 answers
120 views

I'm using the latest version of Jetpack Compose with type-safe arguments for navigation library. I have a nested navigation structure, and I need to pass a parameter to the start destination of a ...
Vivek Modi's user avatar
  • 7,859
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 ...
Den4iccc's user avatar
0 votes
1 answer
65 views

this is my nav graph NavHost(navController, startDestination = Splash) { composable<Splash> { SplashScreen(navController) } navigation<Home>(startDestination = Editor) { ...
Xenione's user avatar
  • 2,213
2 votes
2 answers
387 views

I have a multi-module compose project where I am still trying to define how the navigation should be done. As far as I know, the following key concepts need to be taken into account (correct me if I ...
alGhul7's user avatar
  • 163

15 30 50 per page
1
2 3 4 5
61