Skip to main content
Filter by
Sorted by
Tagged with
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
349 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
388 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
3 votes
1 answer
362 views

I have a screen that receives a parameter. From this screen, I navigate to multiple other screens, and eventually, I want to return to the initial screen. However, since the initial screen requires a ...
Danfb__'s user avatar
  • 387
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 ...
Dennis Nguyen's user avatar
0 votes
1 answer
104 views

I have MainScreen(). On click on MainScreen() button ModalBottomSheet1() is opened. On click on ModalBottomSheet1() button ModalBottomSheet2() is opened (over first one). Shortly: MainScreen() -> ...
Dmitry's user avatar
  • 99
0 votes
1 answer
175 views

I am trying out the relatively new Modifier.sharedBounds() in Jetpack Compose to animate between a Card and the next screen, which is a Scaffold. The problem is, that the background of the Card fades ...
Emil's user avatar
  • 450
0 votes
2 answers
236 views

I recently started using the new type-safe navigation feature in Jetpack Compose. Previously, I could pass default values for navigation arguments like this: class WalletGiftDetailLandingArgs( ...
Gopikrishnan S's user avatar
9 votes
1 answer
560 views

I'm working on a project using Compose Multiplatform (version 1.7.3), and I'm looking to implement the "Swipe to Go Back" functionality for navigation in iOS side. Here are some details: ...
rlaj's user avatar
  • 394
0 votes
0 answers
86 views

I'm experiencing an issue with my Jetpack Compose application where the NavHost is continuously recomposing and causing a navigation loop. Below is a simplified version of my code to demonstrate the ...
succeed's user avatar
  • 1,058
3 votes
1 answer
171 views

I have an app with regular screens and then it shows a sheet, and the sheet can open multiple screen in it How can I do this inside a single navhost? The only way I was able to do it while obviously ...
Hazem's user avatar
  • 41
4 votes
1 answer
2k views

I am trying type safety in Kotlin DSL and Navigation Compose but it looks like it is not working as expected, following is my code: Screens: @Serializable data object SelectMenuNav @Serializable data ...
F.Mysir's user avatar
  • 4,374
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) { ...
Martin's user avatar
  • 2,984
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 ...
Niklas's user avatar
  • 25.7k
2 votes
1 answer
623 views

I have two nested graph group and group details. Group details graph has 3 screens, which need userId. How do I pass data to the nested navigation? Without directly calling the first screen or other ...
IYCS's user avatar
  • 23
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. ...
Nicolas Pietri's user avatar
1 vote
2 answers
129 views

I have an app where I have 2 screens: NavHost( navController = navController, startDestination = UserListScreen ) { composable<UserListScreen> { UserListScreen( ...
Always Learner's user avatar
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 ...
tereshkevich's user avatar
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 ...
Damon's user avatar
  • 239
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()...
chen mo's user avatar
0 votes
1 answer
1k views

I'm having a strange issue using Jetpack Navigation for Compose when using a custom NavType. Library is updated to 2.8.4, my code is based off of this tutorial: https://medium.com/mercadona-tech/type-...
Eric B.'s user avatar
  • 713
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 ...
freeman's user avatar
  • 104
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 ...
Markus's user avatar
  • 1,781
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 ...
Sevban Bayır's user avatar
0 votes
1 answer
132 views

How to write a logic for Horizontal view pager screens I have 4 main screen and in this 4 screen each screen has multiple screen or view depends how logic fits because there is a also back button in ...
AndroidDev's user avatar
0 votes
1 answer
63 views

How to use Navigation library in Wear compose with type safety version. The SwipeDismissableNavHost's startDestination propety doesn't accept Any value like NavHost. Used Dependency for wear ...
Vishal's user avatar
  • 42
1 vote
1 answer
119 views

My current version of navigation is: implementation("androidx.navigation:navigation-fragment-ktx:2.8.0") implementation("androidx.navigation:navigation-ui-ktx:2.8.0") ...
mohammad fakhraee's user avatar
1 vote
2 answers
465 views

I have a multibackstack navigation graph where each starting node for the bottom navigation is top level. How can I check if I am currently in the top level destination in order to adjust the display ...
xephosbot's user avatar
  • 355
0 votes
1 answer
160 views

My container activity handles navigation in some cases like this: fun navigate(directions: NavDirections, extras: Navigator.Extras? = null) { extras?.let { navController.navigate(...
jack_the_beast's user avatar
2 votes
1 answer
238 views

I`m still learning Jetpack Compose and now trying to migrate from string-based routes navigation to new APIs following this article. Before I used something like: @Composable fun HomeScreen( ... ...
user23615509's user avatar
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: ...
Martin's user avatar
  • 2,984
1 vote
1 answer
89 views

Leveraging the latest support for type safe navigtion in Compose , how can I implement deep linking in a tabbed layout UI that would look something like this: The important bit is the content scrolls ...
ZakTaccardi's user avatar
  • 12.5k
3 votes
1 answer
66 views

I am trying to send the Id of one of my object from one screen to other but I don't know why it is not getting the correct Id. When I seperately try to understand the navigation concept and made a ...
Prakhar_Pathak's user avatar
1 vote
1 answer
279 views

I'm working on three pages: StartPage, LoginPage, and SignupPage, and I'm integrating them into a HorizontalPager. In the SignupPage, i'm using requestFocus on textField. The navigation flow is Start -...
Fatima Jamal's user avatar
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 ...
llama_glama's user avatar
0 votes
1 answer
38 views

I start to use the Navigation Components library and created a graph to navigation between different fragments. My basic setup is a BottomNavigationView with two Fragments (A and B). Fragment B can go ...
Happo's user avatar
  • 1,397
1 vote
1 answer
136 views

I am facing an issue while using the code snippet from https://developer.android.com/guide/navigation/design#compose @Serializable object Profile @Serializable object FriendsList val navController = ...
Prince Kumar's user avatar
1 vote
1 answer
517 views

Basically, I have two Box composables: A red box that occupies the full screen. A green box with a higher zIndex, which makes it appear on top of the red one: The issue: When I click somewhere over ...
kamal douma's user avatar

1
2 3 4 5
19