I am implementing password lock feature
that my application supports.
- My application has been executed.
- And user navigated some pages to pages.
- The user click home button so my app has been suspended.
- The user wants to open my app again, so my app resumes.
- Now my application shows(in resuming handler) the password lock page to user.
- If user entered correct password, user can continue exploring application with backstacked pages. Everything is perfect.
- But in
5
case, what if user click hardware back button?
In this case, my application closesmy passwordlock page
and shows (my application's) other page in backstack. Obviously wrong behavior.
I want to make navigating, in that case, to other application page the user had been before. It could be home screen or facebook.
How can I handle this scenario?