KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a login screen in which the user logs in. After that the user will be taken to a main screen. Now my problem is when the back button is pressed the user is taken to the login screen again. Is there any way to fix this problem? I have tried calling finish() right after startActivity() but it only made the application crash and didn't seem a good solution either.
Tags (comma-separated)
Save Edits
Cancel