SyntaxFix
Write A Post
Hire A Developer
Questions
What I was doing was starting a new activity and then closing the current activity. So, remember this simple rule:
finish() startActivity<...>()
and not
startActivity<...>() finish()