Skip to main content
  1. About
  2. Stack Internal
The 2026 Annual Developer Survey is live— take the Survey today!
Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 3
2 answers
194 views

With the release of Jetpack Compose Navigation 2.8.0, we can now navigate using type-safe objects (@Serializable data classes) instead of route strings. However, if my route data class contains a ...
Score of 0
1 answer
91 views

I'm using Androidx Navigation as a router in my app, whereas I have a bunch of different routes, and one has some arguments of the shape: route?$sectionArg={$sectionArg}&itemId={$itemId}. For ...
Score of 0
1 answer
88 views

I’m migrating from an interface-based fragment communication pattern (via Activity) to Navigation Component + shared ViewModel + StateFlow. Legacy approach (interface callback) From FilterFragment ...
Score of 3
0 answers
144 views

To implement Predictive Back feature in an app, that uses Fragments and Navigation Component, there are 2 options: Option A: Use Transition API. Just set animator animations directly into nav_graph ...
Score of 0
1 answer
121 views

While using android navigation compose have a problem with saved navigation arguments. For example, i have following routes: @Serializable object ScreenA @Serializable data class ScreenB(val id: Long?...
  • reputation score 43
Score of 0
1 answer
82 views

I'm trying to add a view to the fragment stack, without any visible indication that it happened, so it appears when going back. Forexample, 3 Fragments, A, B and C A -> C Then when going BACK from ...
  • reputation score 759
Score of 0
1 answer
78 views

I've been trying to get the back button to become white using the default App Bar in my Android App. I looked at and tried a number of suggestions in this post as well and ran up against the following ...
Score of 0
1 answer
71 views

I'm building a Quran app using Jetpack Compose in Kotlin. The app builds successfully and installs on a real Android device (Samsung S908E), but crashes instantly on launch. Crash Log: Caused by: java....
Score of 2
1 answer
158 views

I'm learning how to use NavHost, but I don't know why Android Studio keeps telling me that NavHost doesn't have any options to use serializable objects: None of the following candidates is applicable: ...
Score of 0
1 answer
235 views

@Serializable data object HomeRoute composable<HomeRoute> { entry -> HomeRoute(...) } val currentBackStackEntry = navController.currentBackStackEntryAsState() val route = ...
Score of 0
0 answers
74 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(...
Score of 0
1 answer
87 views

I have a normal fragment subclass that used to be based on views & used viewbinding. I'm migrating to compose slowly so I've basically removed the view-related code and now use the onCreateView() ...
Score of 2
2 answers
482 views

I have an app that has been working properly for many years and I also installed it on several phones and tablets without any problems. Unfortunately I mad an update of Android Studio (from Flamingo ...
  • reputation score 912
Score of 0
1 answer
285 views

I have a question about how to handle back navigation for a specific situation in my project. The basics look something like this: I have a tutorial (written all in Compose) that's split into three ...
Score of 1
1 answer
179 views

I’m using the Navigation Compose type-safe routes feature with Kotlin serialization. My routes are defined as @Serializable objects to achieve type safety in navigation. Everything works fine until ...

15 30 50 per page
1
2 3 4 5
...
82

AltStyle によって変換されたページ (->オリジナル) /