Skip to main content
0 votes
1 answer
72 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 ...
Akronix's user avatar
  • 2,235
0 votes
1 answer
76 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 ...
Stanisław Olszak's user avatar
3 votes
0 answers
99 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 ...
coroutinary's user avatar
0 votes
1 answer
107 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?...
h8leet's user avatar
  • 41
0 votes
1 answer
72 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 ...
Iain Stanford's user avatar
0 votes
1 answer
67 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 ...
Mikey A. Leonetti's user avatar
0 votes
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....
Nasser Abouzide's user avatar
2 votes
1 answer
147 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: ...
Meltier's user avatar
  • 23
0 votes
0 answers
15 views

The documentation for FragmentNavigator says The current Fragment from FragmentNavigator's perspective can be retrieved by calling FragmentManager.getPrimaryNavigationFragment with the ...
Maurice Lam's user avatar
  • 1,849
0 votes
1 answer
215 views

@Serializable data object HomeRoute composable<HomeRoute> { entry -> HomeRoute(...) } val currentBackStackEntry = navController.currentBackStackEntryAsState() val route = ...
user924's user avatar
  • 13.1k
0 votes
0 answers
59 views

my Compose app is structured with a Scaffold with its NavHost and BottomNavBar. The scaffold contains three navigation graphs, each of them containing several composables. Navigation can be achieved ...
alGhul7's user avatar
  • 163
0 votes
0 answers
67 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
  • 13.1k
0 votes
0 answers
45 views

I'm aiming this scenario: I have different features like auth with 3 screens, profile with several screens, email with several screens and so on... I want to setup a navigation structure that mainly ...
Sevban Bayır's user avatar
0 votes
1 answer
80 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() ...
Stelios Papamichail's user avatar
2 votes
2 answers
461 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 ...
PeterBe's user avatar
  • 912

15 30 50 per page
1
2 3 4 5
82