Differentiate between Android killing the app and user swiping it off on the recent apps list

后端 未结 7 2132
死守一世寂寞
死守一世寂寞 2020-12-29 10:50

I am working on a project, where while being on a specific Activity we show a local sticky notification. That should also be the case when the app is minimized. What I have

7条回答
  •  温柔的废话
    2020-12-29 11:16

    when swiping app to left if any Thread still run in your app Interrupted but service not stopped, when you kill handy app Thread and services are stopped.

提交回复
热议问题