Start new Activity and finish current one in Android?

The Solution to Start new Activity and finish current one in Android? is


You can use finish() method or you can use:

android:noHistory="true"

And then there is no need to call finish() anymore.

<activity android:name=".ClassName" android:noHistory="true" ... />

~ Answered on 2012-07-03 09:41:29


Most Viewed Questions: