1 post found under,

Android-Tips

I thought finishing an activity in Android is a very trivial thing until recently when a colleague at work asked me about the right way to finish an activity. I know what you are wondering - " The right way to finish an activity ? " Have a look at this piece of code : this.finish(); //Finish the activity Intent intent = new Intent(this, MyActivity.class); startActivity(intent); // Start new activity Does that code seem familiar ? We fi [...]