java - Android studio finish(); doesnt kill the activity and it is running in background -


i have multiple activities on android application.

when jump 1 activity next activity finish(); previous activity still running in background , creates issue application.

how can stop activity stop running???

open each activity this. finish current 1 , should stop them stacking.

    intent intent = new intent(this, yourmainactivity.class);     startactivity(intent);     finish(); 

Comments

Popular posts from this blog

javascript - Feed FileReader from server side files -

c++ - What's the differece between of link to a dynamic file and as a input object? -

How to pass json object using PHP in Wepay API -