widerules / simpleim-android

Automatically exported from code.google.com/p/simpleim-android
0 stars 0 forks source link

After login, going to LoggedUser activity and clicking the back button returns to MainActivity #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After login, going to LoggedUser activity and clicking the back button returns 
to MainActivity.
The correct flow must be: from LoggedUser clicking back remains there.

Original issue reported on code.google.com by Tartu...@gmail.com on 10 Dec 2012 at 9:15

GoogleCodeExporter commented 9 years ago
the solution could be to ovveride the back callback method or to construct 
newly the activity stack (the last solution is not preferable).

Original comment by Tartu...@gmail.com on 10 Dec 2012 at 9:18

GoogleCodeExporter commented 9 years ago
the solution was to add in the activity:
public void onBackPressed() {
return;
}

Original comment by Tartu...@gmail.com on 17 Dec 2012 at 10:31