Android: How to detect if current stack of activities (task) moves to background?

前端 未结 8 1592
一生所求
一生所求 2020-12-09 14:24

The official documentation describes tasks as follows:

*All the activities in a task move together as a unit. The entire task (the entire activity sta

8条回答
  •  旧巷少年郎
    2020-12-09 14:40

    Try to read about android:finishOnTaskLaunch

    http://developer.android.com/guide/topics/manifest/activity-element.html#finish

    It solved my similiar problem ;-)

提交回复
热议问题