Questions tagged [back]

Method or control to return user to previous state, page or screen.

Refers to questions about preventing, detecting, handling, controlling, etc:

  1. The back button on web browsers
    • History of visited sites
    • Backing out of a "dirty" page
  2. The hardware or software back button on smartphones and other similar devices
  3. Navigation in Android/IOS applications
    • Returning to the previous view
    • Exiting the application (Android)

et cetera.

Does not refer to

  • Keyboard backspace key (^H)
  • Keyboard delete key (^?)
  • Reverse side of a physical device
  • Previous versions of an application
1484 questions
22
votes
5 answers

ViewPager data lost when coming back from next screen

I am using a ViewPager in my application and I have three tabs in it; I am using ViewPager inside a fragment. Now my problem here is, I am getting data correctly while loading the application, but when I go next page and then back to ViewPager, the…
Hari krishna
  • 1,142
  • 1
  • 12
  • 29
22
votes
5 answers

Jquery when back button is pressed

I have a click that changes things on the page when you click it. I was wondering if there was a way to trigger an effect when you press the back button on the browser
user2568107
19
votes
2 answers

EditText with soft keyboard and "Back" button

When I'm using "EditText" I have the virtual keyboard. Pressing first time "Back" button hides the keyboard. Second press invokes "onBackPressed" callback in my activity. OK, but... I have no idea how to hook the very first press. I need to process…
OGP
  • 950
  • 2
  • 11
  • 26
19
votes
7 answers

Differentiating between an Activity launch from home screen or from another activity from App

I need to know a generic way to distinguish between a call of activity from launcher and a call from another activity from inside my app, or a BACK on the activity stack Anyone? this is bugging me for quite a while now and i need to put it to…
JQCorreia
  • 727
  • 6
  • 15
19
votes
8 answers

How to go to last edit location in Android Studio

How to go to last edit location/s in android studio? Clicking the back arrow in the toolbar makes you travel within your navigation history. But I want to travel within my edition history i.e. navigate through the last change/s I made in…
Shirish Herwade
  • 11,461
  • 20
  • 72
  • 111
19
votes
6 answers

Back button re-submit form data ($_POST)

My problem is that the back button causes the browser to say something like "Page expired" when the previous page was created by a form. Example: page1: form submitted with search criterias ($_POST request, form points to page2) page2: Receives…
Cudos
  • 5,733
  • 11
  • 50
  • 77
16
votes
1 answer

Use nested Navigator with WillPopScope in Flutter

In my application, I want to have a custom Navigation (only change part of the screen and keep an history of what I'm doing inside it). For that purpose, I am using a Navigator and it's working fine for simple navigation. However, I want to handle…
leb1755
  • 1,386
  • 2
  • 14
  • 29
16
votes
7 answers

Swipe to go back gesture flutter

How do i implement the swipe from the left to go back gesture in flutter? Not sure if it was already implemented automatically for iOS, but I wanted it for Android as well (as things are becoming gesture based).
Tom O'Sullivan
  • 3,416
  • 5
  • 15
  • 27
16
votes
3 answers

Possible bug with