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

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -