Resume application and stack from notification

后端 未结 8 1641
一向
一向 2020-11-22 16:04

I want to resume my app from a status bar notification in the exact same manner as when the user taps its icon in the launcher.

That is: I want the stack to be in th

8条回答
  •  一个人的身影
    2020-11-22 17:03

    There could be a more simple way, but you could store the data in the sqlite database and whenever you restart the app whatever states you have saved to the database you can retrieve and set your values to what they need to be at.

提交回复
热议问题