android - using onresume to redirect activity after pressing back -


is an activity I use I am open to valid information about the user logging into your Android app I am This action to redirect the GUI and verification activities based on the information. Either way my app will go back to this screen and just get stuck on an empty activity.

I have not coded onResume .

I onResume () to'd like to use and at the same time would like to get it back up the stack to prevent it?

Thank you!

When you successfully before moving on to another activity to validate user information "activity", call

  ends (); // This will remove the previous activity stack   

I hope this will solve your problem

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -