Category "navigation"

Can you use old nav graphs with jetpack compose

I am migrating a fragment from old Jetpack to Jetpack Compose. This fragment is part of an existing nav graph. After migrating the fragment (using ComposeView)

navigateUp() and popBackStack() not working. Instead, they reload the current fragment

I am trying to navigate up the backstack. On calling the method view?.findNavController().navigateUp() and logging the destination using view?.findNavController

Multiple/Nested NavHostFragments - Jetpack Navigation

I have two NavHostFragments, one in an activity which is the startDestination and another one in a Fragment. I can't seem to make the Bottom Navigation work in

Redirect to 404 page if url is incorrect or if a 404 error is got from BE

I need to redirect to a custom page in case if the entered URl does not exist or in case if I receive a 404 error from BE. To catch the BE error I do a navigati

How to create multiple custom renderer with same type?

I wanted to create a page render with ContentPage type. I created so in android and it is working but in IOS there has custom page renderer with same type (Cont

Jetpack Compose TopAppBar with dynamic actions

@Composable fun TopAppBar( title: @Composable () -> Unit, modifier: Modifier = Modifier, navigationIcon: @Composable (() -> Unit)? = null,

Is there any way to prevent auto-scrolling when selecting where to save a file in Windows 10?

Often when I am saving a file in Windows 10 a file explorer-like window pops up and I start navigating to where I want to save it. After a few seconds the windo

How to add SafeArgs to new top level Kotlin gradle

I m gonna use Navigation Framework with fragments but at the dependency step, when i tried to add SafeArgs from documentation i see that the new top level gradl

How to pass an image from one composable function to another in Jetpack Compose?

I am developing an app with texts and images. The images appear small, like thumbnails, on one composable (activity), alongside the text. The idea is: when the

Using bottom navigation with individual Navigators but single AppBar

I am trying to create an app that has the following basic setup for navigation: tab1 -> subpage tab2 tab3 with a bottom navigation bar for switching between

GPS Navigation, how to select GEO reference as the origin of my map (0, 0)

I'm doing GPS navigation for a vehicle. After getting the GNSS (GPS) data, I need to convert (longitude, latitude) to my map frame. How should I choose the orig

D/InputConnectionAdaptor( 5956): The input method toggled cursor monitoring on

When I start the application on the Android emulator and try to use the virtual keybord, it immediately gets closed and I see the following message on DEBUG CON

auto_route redirect with declarative routes

I have an iOS app with auto_route which uses declarative routes as in this example for the root router: https://autoroute.vercel.app/advanced/authentication. I

Execution flow in react native after navigation.navigate

Need suggestion and advice, I am using the below 2 lines of code in react native expo component, this.props.navigation.navigate("App"); patchUser(this.state.da

macOS SwiftUI Navigation for a Single View

I'm attempting to create a settings view for my macOS SwiftUI status bar app. My implementation so far has been using a NavigationView, and NavigationLink, but

SwiftUI - How to close the sheet view, while dismissing that view

I want to achieve the function. Like, "Look up" view that is from Apple. My aim is when the sheet view push another view by navigation, the user can tap the na

Issue with backstack and bottomnav in kotlin

I have a bottom nav with 4 fragments Home, Following, Notification, and Profile, there is no issue with the bottom navigation on backstack , but now for eg from

exception: View does not have a navController set

in the fragment which i made it host in the tag fragment in activity when i use navController = Navigation.findNAvController(view) the app crashes by the error:

How To Prevent Navigation Loops In Flutter

In my application I have 13 screens in total, some of them has links to other screens, I also have a drawer that has links to most of these screens. The followi

Drawer Navigaiton React Native

ERROR Invariant Violation: Module AppRegistry is not a registered callable module (calling runApplication). A frequent cause of the error is that the applicati