dismiss Questions

12

Solved

I have an app which is a single view application. I have a navigation controller linked up to all child controllers from the root view controller. In each child controller, I have a logout button....
Haerr asked 4/11, 2015 at 11:38

4

Solved

Some apps have notifications which can´t be dismissed by swiping them away. How can I manage such behaviour?
Aluino asked 27/8, 2013 at 12:1

34

Solved

I am collecting user input with a TextFormField and when the user presses a FloatingActionButton indicating they are done, I want to dismiss the on screen keyboard. How do I make the keyboard go a...
Iguanodon asked 9/7, 2017 at 0:44

17

Solved

I am using DialogFragments for a number of things: choosing item from list, entering text. What is the best way to return a value (i.e. a string or an item from a list) back to the calling activi...
Horde asked 5/6, 2012 at 21:35

22

Solved

I have a long View Controllers hierarchy; in the first View Controller I use this code: SecondViewController *svc = [[SecondViewController alloc] initWithNibName:@"SecondViewController" bundle:...
Etheridge asked 31/5, 2010 at 14:37

9

Solved

I am using a DialogFragment, and while I have successfully set an image to close (i.e. dismiss) the dialog when pressed, I am having a hard time finding the way to dismiss the dialog when the user ...
Kakalina asked 6/12, 2011 at 17:29

1

I want to set the keyboard to be always opened in the chat page and should not be dismissable by the back button. The WillPopScope() widget is only preventing the back button from navigating back t...
Teeter asked 9/4, 2022 at 8:15

3

Solved

I can show snackbar like this. Snackbar snackbar = Snackbar.make(this.findViewById(android.R.id.content), "snackbar", Snackbar.LENGTH_INDEFINITE) .setAction("action", new View.OnClickListener() {...
Grattan asked 24/1, 2016 at 9:41

8

Solved

I created AlertDialog that contains 4 buttons OptionDialog = new AlertDialog.Builder(this); OptionDialog.setTitle("Options"); LayoutInflater li = (LayoutInflater) this.getSystemService(...
Dealt asked 13/2, 2013 at 12:13

2

My keyboard always dismisses instantly when I tap on the textInput. This only happens on Android. It's strange that I've tried removing all irrelevant codes to textInput only, but the problem stil...
Granophyre asked 20/9, 2019 at 11:17

4

I'm new to react-native. I have a textfield(Input). I want to the Keyboard to be dismissed when user clicks somewhere else except input field. I tried several solutions suggested here like Touchabl...
Praefect asked 29/12, 2016 at 13:22

9

Solved

In the following code below, how do I dismiss the alert box? I don't want to cause a memory leak. I tried the .dismiss() on alertDialog, but that didn't work... Thanks // User pressed the stop but...
Amedeo asked 1/7, 2012 at 20:1

8

Is there a way to prevent the user from dismissing a snackbar by swiping on it? I have an app that shows a snack bar during network login, I want to avoid it to be dismissed. According to Nikola ...
Dysarthria asked 1/12, 2015 at 22:31

3

Solved

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 navigation item button to close the she...
Blakeney asked 20/2, 2020 at 5:27

10

Solved

I'm making a game using SpriteKit. I have 3 viewControllers: selecting level vc, game vc, and win vc. After the game is over, I want to show the win vc, then if I press OK button on the win vc, I w...
Keldah asked 22/6, 2015 at 21:55

5

Solved

I'm trying to dismiss a VC and present a new VC. but I don't want old VC to exist anymore. I use the code below to dismiss current VC and present new one. but this way, there's a time interval betw...
Gustaf asked 20/2, 2017 at 8:9

1

I'm trying to dismiss the keyboard when view dismissed but keyboard not dismiss properly, they only hide button but they showing height. More detail please check my code and screenshot. Keyboard s...
Guernica asked 6/7, 2021 at 9:9

7

Solved

So have a stack with three view controllers where A is root, B is first modal view controller and C is third modal vc. I would like to go from C to A at once. I have tried this solution to dismiss....
Godforsaken asked 12/7, 2010 at 15:28

2

Solved

I'm using TabView on my home page. Let's just say I have 4 tabs. On second tab, i can go to another view using NavigationLink and I go to another 2 views using NavigationLink. Then on the latest vi...
Templeton asked 9/4, 2021 at 2:31

4

Solved

If the dialog is dismissed,I want to do something for my background.So I want to know if the dialog is dismissed
Colquitt asked 9/7, 2013 at 9:33

2

I got the following error when a popup dismisses using android studio. The code works OK, but the following error appears on logcat: E/ViewRootImpl: sendUserActionEvent() returned. java code: ...
Grandiose asked 29/8, 2018 at 16:17

3

I use a snackbar to notify the users of my app that they aren't connected to the internet. I added a "retry" action to the snackbar which re-checks the connection. I want the snackbar to stay displ...
Tonsillitis asked 14/5, 2016 at 18:47

2

I am working with FlutterDriver, I have an IconButton defined and a key set as shown: Center( child: IconButton( key: Key('moredots'), icon: Icon(Icons.more_vert), onPressed: () { showD...
Celaeno asked 5/11, 2019 at 17:38

1

Is there a simple means of dismissing the keyboard or any other active control when another control such as a date picker becomes active? Or vice versa. There are some solutions for dismissing the...
Configurationism asked 31/10, 2019 at 12:37

3

I'm trying to make a swipeable layout so you can swipe it to dismiss like in Google now. I managed to getting it worked on a view such as button using this codes: SwipeDismissTouchListener: publi...
Handcuff asked 8/7, 2014 at 21:33

© 2022 - 2024 — McMap. All rights reserved.