How to clean back stack on Android API 10 (Android 2.3.3)

前端 未结 2 524
心在旅途
心在旅途 2020-12-21 05:38

I would like to know how can I clean all previous activities of the stack (except the new one), but I want that in Android API 10 (Android 2.3.3).

Guided with this a

2条回答
  •  眼角桃花
    2020-12-21 05:59

    You could add in manifest file android:noHistory="true" to each activity that you don't want to keep in the stack

提交回复
热议问题