Quantcast
Channel: Active questions tagged navigation - Stack Overflow
Browsing all 9905 articles
Browse latest View live

How to call activity with switch-case in Kotlin?

How to call activity with switch-case in Kotlin ? I would like to use the switch-case structure on the cotlin as in the photo below.(Java Code)public boolean onNavigationItemSelected(@NonNull MenuItem...

View Article


Loop through pivot items and check headers wp8

I have a pivot called "infra" I want to loop through all pivot items in infra and check the header value of each item in order to determine which page I should load for the user. My code below doesn't...

View Article


How to fix 'navigation.state is not defined' in custom react-navigation...

I'm trying to use a custom component (tabBarComponent property) for my React Native app using createMaterialTopTabNavigator from "react-native-tabs", the component being BottomNavigation from...

View Article

SwiftUI NavigationLink pop

I have navigated to a new view with NavigationLink and I want to pop back to where I was programatically. Is it yet possible in swiftUI? I know for the modal presentation we could use the .isPresented...

View Article

Is there any options to check condition to fragment in bottom navigation bar...

So, I have four fragments which are connected to bottom navigation view using navigation graph. I have a condition that if the user is logged in I need to show products_fragment in 3rd position else I...

View Article


How do I make the submenu appear on each menu when cursor hover?

I am implementing the drop-down menu using react.js. I'm looking at the tutorial and applying it, but I've added another menu with a submenu and it doesn't work as I want. I want the submenu to appear...

View Article

I can't seem to figure out how to test BottomBar Navigation

I'm using the material BottomNavigationView and I'm trying to test the navigation:Test: @Test //fails fun navigationMenu_contractClicked_openContractFragment() {...

View Article

Angular Router - How to clear a certain number of entries in the history stack?

So, in my app, i have a feature that flows like this (im using the router.navigate() function to do so): Home > Page A > Page B > Page C > Home. How can i clear the router when i go from...

View Article


Android NavHostFragment with CoordinatorLayout

I want to implement new Android Navigation component in my app. As I know, the fragment that is basically used to host fragments (NavHostFragment), uses by default FrameLayout. But, unfortunately,...

View Article


Load Home after Login Call was successful

I implemented the login page and the login service for my react native app. Now I want to load the home screen, when the login was successful. I am able to do it with...

View Article

Flutter Navigator: Dynamic initial route

My app displays some introduction screens only on the first launch of the app. After the first launch the first screen to display should be my HomePage. I tried these routes:"/" -> HomePage()...

View Article

draw bar navigation android how to creat singal class file and use in all page

i want to use that code in all my activity page, how can i do ?. how to create single line code and past in all page likecan i create class file in that all code and use in all pagepls add code for...

View Article

Image may be NSFW.
Clik here to view.

Android Navigation Component Add Fragment Instead of Replace

Android navigation component just replace but you want to add fragment instead of replace you can use this but need to "Version 2.1.0" for...

View Article


How can I switch between pages with the navigation bar?

I have a navigation bar like this:<div class="custom-padding"> <nav> <div class="logo">Logo</div> <ul class="menu-area"> <li><a...

View Article

Check if arguments exists when navigating to Fragment using SafeArgs

I migrated to Navigation Components and since I use Fragments now, I do no longer call onActivityResult() in my Fragment.I defined the arguments that I pass to AddEditTaskFragment and want to send the...

View Article


Repeat background image in Nav Bar

I would like to include the repeated background image that is on my background to my navigation bar as well.#navigation-top, #navigation-bottom { background-color: #fff; width: 100%; }...

View Article

Android Mapbox Navigation - Sometimes does not initialize and other times...

I have a React Native Project that calls and Android Activity that contains the Mapbox Navigation SDK Embbeded Navigation (https://docs.mapbox.com/android/navigation/examples/embedded-navigation/)....

View Article


Android navigation component mainFragment is not found in the backStack

I'd like to know how to properly navigate between main fragment in navigation component (AlreadyHaveAccountFragment) and seconde fragment (EmailVerificationFragment)? For the moment if i click on back...

View Article

Align Navigation bar with Logo or Website name

I am creating a code portfolio website focused more on game and app development. It has been a while since I have done HTML and I can't figure out how to align a header with the navigation bar. I am...

View Article

NativeScript navigate to parent category

Can someone provide some info if the following is even possible?I have an app with 4 tabs - the 4th tab has 6 other nested tabs I can navigate to. But when I go from any of the nested tabs to the 4...

View Article
Browsing all 9905 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>