android-architecture-navigation Questions
8
Solved
I am trying to apply Jetpack Compose navigation into my application.
My Screens: Login/Register screens and Bottom navbar screens(call, chat, settings).
I already found out that the best way to do ...
kotlinandroid-jetpack-composeandroid-jetpackandroid-architecture-navigationjetpack-compose-navigation
Hessney asked 27/10, 2021 at 12:6
3
NavController has methods navigate which navigate by default with backstack. How to navigate to the fragment without having backstack?
Please note that, I am not asking about FragmentTransaction
Billiton asked 17/12, 2018 at 15:35
9
Solved
Basically, I have the following navigation graph:
I want to change my starting point in navigation graph to fragment 2 right after reaching it (in order to prevent going back to fragment 1 when pr...
Expurgate asked 4/7, 2018 at 11:50
5
Solved
I have an application which has a bottom menu bar which users can use to switch between 4 home page tabs. It's working fine like below.
The only problem I'm having is it showing back button when I...
Glia asked 23/7, 2019 at 16:50
3
Solved
I have a very simple app that consists of three Fragments and a Bottom Navigation bar, created by using "New Project -> Bottom Navigation Activity" in Android Studio. The first Fragmen...
Shalne asked 1/3, 2022 at 15:21
3
Solved
I have setup a bottom bar in my new Jetpack Compose app with 2 destinations. I have tried to follow the samples from Google.
So for example it looks something like this:
@Composable
fun MyBottomBar...
Correna asked 20/7, 2021 at 14:16
1
I have setup a Bottom Bar in project on Jetpack Compose app with 2 destinations. I have tried to follow the samples from Google.
So for example it looks something like this:
@Composable
fun Example...
androidandroid-jetpack-composeandroid-architecture-navigationandroid-navigationjetpack-compose-navigation
Berardo asked 27/6, 2022 at 7:53
13
Solved
I have an activity A that start activity B passing to it some intent data. Activity B host a navigation graph from the new Navigation Architecture Component.I want to pass that intent data to the s...
Synonymous asked 14/5, 2018 at 15:59
12
Solved
I recently downloaded Android Studio Bumblebee and it helpfully asked whether I wanted to upgrade to Android Gradle Plugin 7.1.0, the version that shipped alongside Android Studio Bumblebee.
After ...
Libreville asked 26/1, 2022 at 0:45
13
Solved
When I try to add Safe Args (Android Navigation) to my app's as following
( using this guide : https://developer.android.com/topic/libraries/architecture/navigation/navigation-pass-data ) :
apply...
Contrabandist asked 25/12, 2018 at 9:50
17
Solved
I have a fragment A,B,C. Its okay when navigating from A -> B, but from B -> C it crashes.
Here is my Navigation
Here is my navigation code
categoryProductItemListAdapter.setOnItemClickList...
Kuhns asked 9/9, 2020 at 6:7
5
I'm using Navigation Components, I have Fragment A and Fragment B, from Fragment A I send an object to Fragment B with safe args and navigate to it.
override fun onSelectableItemClick(position:Int...
Calpe asked 10/6, 2020 at 19:38
4
Solved
Is it possible to pass and access arguments in a fragment using a bottom navigation view and the Navigation component?
I'm using a one activity with many fragments approach where my top level fra...
Adigranth asked 7/1, 2019 at 21:18
12
Solved
What I have done:
I have created Navigation Drawer Activity, As updated new format of Navigation Drawer Activity, As per new Android architecture, I got it with Navigation Component structure.
The ...
Sleeve asked 23/12, 2019 at 8:35
21
Solved
I am using The new Navigation Architecture Component in android and I am stuck in clearing the navigation stack after moving to a new fragment.
Example:
I am in the loginFragment and I want this...
Whitehot asked 24/5, 2018 at 17:10
3
Solved
Using Navigation Architecture Component we also have dynamic navigation from code like this in some cases:
navController.navigate(R.id.cartFragment)
Then when we need to navigate to a new root d...
Hyaloid asked 25/9, 2019 at 11:42
6
Solved
I have 2 fragment call CreateRoomFragment and DisplayPhotoFragment,the navigation graph is look like this:
<navigation>
<fragment
android:id="@+id/createRoomFragment"
android:name="pa...
Ician asked 31/1, 2020 at 11:28
3
Solved
I've just changed platform from windows to mac, and when I try to build my app I get this message:
Unresolved reference. None of the following candidates is applicable because of receiver type mi...
Schargel asked 21/8, 2018 at 8:34
21
Solved
I'm using Android Navigation Component for Navigation. I have a LoginFragment which has a button to transition to SignUpFragment. On clicking the button I'm getting this error.
java.lang.IllegalSta...
Paling asked 24/5, 2018 at 6:20
7
Solved
I have main navigation:
SplashFragment -> RegistrationFragment -> RootFragment
<fragment
android:id="@+id/splashFragment"
android:name="com.low6.low6.features.splash.SplashFragment"
andro...
Paraboloid asked 10/10, 2018 at 8:59
8
Solved
I wanted to try new Navigation library. After following this guideline I experienced error at runtime:
Caused by: android.view.InflateException: Binary XML file line #11: Binary XML file line #11:...
Tenuto asked 14/5, 2018 at 14:55
4
Solved
I have screen like below which contain a navigation drawer and bottom navigation on same screen:
I am using Jetpack Navigation Architecture Component.
Current issue and What I have tried?
Clicking...
Couscous asked 5/5, 2019 at 10:3
3
Solved
The documentation discusses how to send simple integers and strings. For example:
<argument
android:name="myIntArg"
android:defaultValue="255"
app:argType="integer" />
In the origin Fra...
Vendee asked 29/11, 2018 at 18:36
5
Solved
I am actually not sure, how the correct way or the best practice to set different toolbar using navigation controller component
in my app. I want to set 2 different toolbars.
green toolbar
red ...
androidandroid-architecture-componentsandroid-jetpackandroid-navigationandroid-architecture-navigation
Omen asked 12/7, 2019 at 23:12
2
I have the following architecture in my project:
MainActivity layout:
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.a...
Abidjan asked 17/9, 2018 at 13:53
1 Next >
© 2022 - 2025 — McMap. All rights reserved.