5,779 questions
5
votes
1
answer
120
views
ModalNavigationDrawer doesn't want to close or open programmatically but responds to swipes
I followed Android's Compose tutorial and copied the code to open and close the drawer, but I cannot get it to programmatically open or close. It swipes just fine, but I'd like it to close when I tap ...
0
votes
1
answer
47
views
mimic setStatusBarColor when using compose navigation drawer
I'm using compose compose drawer. since, setStatusBarColor is deprecated on android 15. so, i cant use setStatusBarColor.
somehow, google files app achived using some other way.
This is the code i ...
0
votes
1
answer
34
views
Navigation drawer not switch to Home Fragment
I've implemented Navigation Drawer in my project, and it seems to work, but when I navigate to another fragment, the menu stops working. I created a new one using the Android Studio template, libs ...
4
votes
2
answers
1k
views
_reactNative.BackHandler.removeEventListener is not a function (it is undefined)
_reactNative.BackHandler.removeEventListener is not a function (it is undefined), getting this error while navigating to home-screen in React react-native expo.
In app, there is nested navigators in ...
0
votes
0
answers
30
views
Drawer menu in android studio not "solid"
So for a school project we need to create an app with eco-house, and I got a problem its when I open the first time the drawer everything fine because header is "solid" and nothing goes ...
0
votes
0
answers
26
views
In main activity binding gonna be unresolved after cleanup inspection errors and view binding is also true
this is after cleanup the inspection error
while all dependencies are still same and viewBind is also true
How to solve this?
override fun onCreate(savedInstanceState: Bundle?) {
super....
0
votes
1
answer
188
views
How to implement two drawers (left and right) with swipe control in Android Studio using Jetpack Compose? (composables)
Hello!
I am working on an Android app in Android Studio using Jetpack Compose, and I want to implement two drawers:
A left drawer that can be opened and closed by swiping from the left edge of the ...
0
votes
0
answers
172
views
React Native: "TurboModuleRegistry.getEnforcing(...): 'RNGestureHandlerModule' could not be found" Error
Question:
(I don't use IOS)
I am working on a React Native project and encountering the following error when trying to run the app on an Android emulator:
ERROR Invariant Violation: ...
0
votes
1
answer
70
views
Flutter - How to Reset Layout Page Drawer, After Change the page and get back
I'm newbie with flutter
anyone can help me How to Reset Layout Page Drawer, After we Change the page and get back ?
this my code (update):
import 'package:flutter/foundation.dart';
import 'package:...
0
votes
0
answers
56
views
React Navigation not redirecting to DrawerNavigator after app restart for one user type but works for another
I’m working on a React Native app with two user flows: Employer and Employee. Both flows are structured similarly:
The user completes an onboarding process.
After onboarding, they are redirected to ...
1
vote
2
answers
472
views
How to enable swipe gesture to open ModalNavigationDrawer when using a full-screen HorizontalPager in Jetpack Compose?
I'm using Jetpack Compose and I am trying to enable opening a ModalNavigationDrawer via a swipe gesture (from left to right) similar to how Twitter does it. I have a HorizontalPager that occupies the ...
0
votes
1
answer
220
views
Navigation Drawer with nested navgraphs and topbar icons
I'm trying to implement a Navigation drawer in compose project.
I'm trying to:
Have a splash/login screen where I don't want to show the topbar that opens the drawer. After successful login, navigate ...
1
vote
0
answers
80
views
I am trying to use the "@react-navigation/drawer": "^7.0.19" but it was not working properly
// Navigation.js
import React, { useState } from 'react';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import { createDrawerNavigator } from '@react-navigation/drawer';
...
0
votes
1
answer
526
views
Expo Router Drawer: Navigation Doesn't Work When Header is Shown
I am working on an Expo project using expo-router and implementing a Drawer for navigation. The issue occurs when I set headerShown: true in the screenOptions. While the drawer opens, tapping on the ...
0
votes
1
answer
100
views
WPF NavigationViewItem unwanted empty popup/flyout
I have a WPF application which implements a NavigationView using the ModernWPF toolkit. The Navigation view menu comprises of three items, each with icon and selection text, as you would expect, and a ...
0
votes
1
answer
154
views
React Native Expo Navigation Drawer icon is not showing up in firebase deployment environment
I am using Navigation Drawer to create a sidebar menu. It renders fine when running it locally but when deploying it to the google server - https://cancer-hacked.web.app/ - The Navigation Menu Icon in ...
0
votes
1
answer
74
views
React Native - How to navigate to a specific screen in a child stack navigator from a parent drawer navigator
I have not been able to achieve this for days now.
My topmost navigator is a DrawerNavigator and it has multiple links to the a particular child Stack navigator but also to other screens.
This is my ...
0
votes
1
answer
136
views
TypeError: navigation.openDrawer is not a function (it is undefined) js engine: hermes in React Native
I'm using React Navigation in my React Native project with a combination of Stack Navigator and Drawer Navigator, but when I try to use navigation.openDrawer() in my component, I'm getting the ...
0
votes
1
answer
77
views
How to let viewmodel initiate a background task
I have a queue that needs to execute tasks. There are two types of tasks: fragment work and background work. But I want to put all the work codes in the viewmodel for unified management. How should I ...
0
votes
1
answer
42
views
Is there a way to hide the bottom of the navigation drawer
My navigation drawer is visible behind the default footer of the phone (back button, home button, recent apps button). My
I want the default footer to hide the navigation drawer. I don't want to hide ...
1
vote
0
answers
33
views
ModalNavigationDrawer ignores PointerInputChange
Look at the following GIF. When the checkbox is checked, the green area (Column in MaxBox) detects swipes from right to left. Each such swipe increments the counter by one. When the checkbox is ...
0
votes
1
answer
89
views
Update the Drawer contents based on settings page changes in Flutter
I need to refresh the drawer contents to apply, specifically, the font size changes made in the settings page. The drawer is defined in the MyHomePage class. A portion of my code is below. I need a ...
1
vote
0
answers
23
views
How to Customized Navigation Drawer in Android
I want to customised my navigation drawer just like shown in image.
In menu item I used layout for that
I want like this
I used this layout but it is shifted to right side.I want to set text and image ...
0
votes
0
answers
43
views
Using Drawer with StreamBuilder
I would like to use StreamBuilder to show data especially in my drawer (all my friends requests). However, when I use StreamBuilder (or even FutureBuilder), I have only a circular progress indicator ...
0
votes
1
answer
66
views
scroll controller error with pagecontroller in flutter
I get the following error when I try to invoke _pagecontroller.jumpToPage or _pagecontroller.animateToPage:
Exception has occurred.
_AssertionError ('package:flutter/src/widgets/scroll_controller....
0
votes
1
answer
28
views
Different navigation drawer depending on role
I have been trying to have two different navigations depending on role. I'm not sure I'm using the right names and words, so, here's an image example of what I mean:
(Sorry the image is huge, I'm a ...
0
votes
1
answer
75
views
How to make a floating NavigationView in Android
I want to replicate the menu that Google has in its applications, but I don't know if there is a component like NavigationView and DrawerLayout that allows this menu to be made but that is not fixed ...
0
votes
0
answers
31
views
How to make a drawer item navigate to a stack navigator screen?
Is there a way to navigate to a stack navigator screen from the drawer navigator by clicking it? I mean:
<Drawer.Screen name="Profile" component={ProfileScreen} />
Here, I don't want ...
0
votes
1
answer
416
views
React Native - Hide Drawer header in a stack that is inside a bottom tab navigator
I want to hide the header of drawer through all the screens of my form that is actually a stack. I'm working with React Native CLI.
Add Patient Stack
<Stack.Navigator screenOptions={{headerShown: ...
1
vote
1
answer
303
views
Not able to use the right side drawer navigation in react native
So I am new to react native and have been trying to implement drawer navigators.
The issue I am facing is that when I click on the icon on the right side I want the right side drawer to open but it ...
3
votes
0
answers
729
views
React native: Drawer on the home page, stack on all other pages
I would like my app to have a drawer on the main page, and stack navigation on all the rest of the pages. I'm planning on setting out pages so that only some will be accessed from the drawer, others ...
2
votes
0
answers
594
views
Jetpack Compose ModalNavigationDrawer with SwipeToDismissBox disables the gesture for opening nav drawer
Is it possible to have a LazyColumn with a SwipeToDismissBox also work correctly within a ModalNavigationDrawer?
I have a basic composable with a ModalNavigationDrawer that has a LazyColumn within it.
...
0
votes
1
answer
50
views
How to disable the navigation drawer on login fragment?
How to disable the navigation drawer together with hamburger button and toolbar while the user is on login fragment (or sign up fragment)? After the user login in app, I want to enable the navigation ...
0
votes
1
answer
168
views
How to change the ripple color when an item is pressed in a navigation drawer
So I'm learning about how to incorporate the navigation drawer in my android app. I've successfully managed to incorporate it in my app. However, I cant find out how to change the ripple color when I ...
0
votes
1
answer
107
views
Flyout drawer menu not sized correctly in RTL language (Android)
in a Xamarin.Forms 5.0.0.2662 version app, using FlyoutPage, the drawer menu pops from the right as expected but it's not completely shown or it even has a gap in some scenarios. The following picture ...
0
votes
1
answer
152
views
How does the Navigation Drawer Views Activity app open the drawer via the hamburger icon?
Android Studio ships with the sample app 'Navigation Drawer Views Activity', which can be created via the new app dialog. I've tried to follow the code in it to implement a navigation drawer in my app....
0
votes
2
answers
889
views
How to implement 'Drawer' in 'AppBar' in React MUI using Next.js framework?
I would like to have the App bar at the top with 'hamburger' on the left, when the hamburger is clicked , Sidenav (drawer) should appear. I am using React Material and Next.js (App router). The app ...
1
vote
2
answers
300
views
How to clear previously selected items in Navigation Drawer (Jetpack Compose)
I have navigation drawer with multiple menu Items. When I click on any item it gets selected (Inbox) with highlighted color . After that if I click some other items (flagged Mail) it also gets ...
0
votes
1
answer
109
views
Navigation.navigate Cannot read property 'params' of undefined react native
Goodmorning all,
i am new to react native and i am trying to create a page that onpress of a element of the list or a button pass the variable to the other page
i am using a drawer for the side menu,...
0
votes
0
answers
294
views
Custom drawer animation is not smooth in Jetpack Compose android
I developed a custom drawer that behave like a Top sheet. Everything is good but I try to Drag up the drawer, the animation is not smooth when drawer slide up (exit), Animation stuck for a second when ...
1
vote
0
answers
134
views
How to apply animation to the hamburger icon when opening the drawer
I've reviewing the nano degree videos i took a year ago to solidify my memories and my understanding but one thing bother me is that in the navigation course they apply the MVVM design pattern and use ...
7
votes
6
answers
7k
views
React Native Drawer - Cannot read Property "isConfigured" of undefined & [Reanimated] Failed to create a worklet
My Codes:
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
*/
import React from 'react';
import { createDrawerNavigator} from '@react-navigation/drawer';
...
1
vote
0
answers
65
views
Setting the width of the Material drawer same as child in React
I am trying to modify the width material drawer example provided in their official document https://mui.com/material-ui/react-drawer/#permanent-drawer.
How can I set Material Drawer width to the width ...
0
votes
0
answers
63
views
Flutter: Drawer items reopen after being in an open window already
The problem is that I am utilizing Flutter to design an application, and I have made a custom drawer and app bar. If an item in a drawer is clicked, it should open; but, if you click on item 1 again, ...
0
votes
3
answers
671
views
How to open the drawer by use of left swipe like Gmail in flutter?
I want to open my left navigation pane only by swiping left to right from any point on the screen and not just from the extreme left.
@override
Widget build(BuildContext context) {
return ...
0
votes
0
answers
43
views
In react-native project Importing drawer cause an error
I am a beginner react-native developer and still learning things from different sources, currently I started creating small project where I decided to use drawer navigation. I followed the source and ...
1
vote
1
answer
79
views
How to add Logout Functionality in React Native DrawerNavigation
I have Created a Drawer on my Profile page ( its one of the three in bottom TabNavigator of my App). I am trying to add a logout item in the Drawer. I am able to add an item (maybe wrong way) but ...
0
votes
1
answer
642
views
React Native - Drawer Layout is not working
Hello I am trying to do create a drawer layout in React Native CLI (Not Expo), but all code I tried or found, even ChatGPT won't work. Here is my last code. Can some help me a tel me what I missed? I ...
0
votes
1
answer
92
views
how to access views which are inside Navigation view in navigation drawer in kotlin
i want go back functionality in navigation view. i would like to know how to add on click listener to go back button which is located inside my navigation view. i have code like
below.
my activity ...
0
votes
1
answer
151
views
how to add elements at Drawer Header - react-native
I am new to react native, I am trying to insert elements into the drawer header, my idea is to remove the title from the screen and create a new title with onPress and add two more elements, but I can'...