How do you delete old activity on Android?

How do you delete old activity on Android?
Answer
FLAG_ACTIVITY_CLEAR_TASK|Intent. FLAG_ACTIVITY_NEW_TASK); this. startActivity(intent); It will totally clears all previous activity(s) and start new activity.
 

Tìm kiếm

Back
Top