onStop delays to be called when restarting activity

后端 未结 2 1089
名媛妹妹
名媛妹妹 2021-01-26 23:40

When restarting an Activity, onStop() from previous activity delays too much to be called.

I am using this code to restart my activity PlayerActivit

2条回答
  •  无人共我
    2021-01-26 23:59

    You can do it simply by setting a noHistory flag as true in AndroidManifest.xml file. I think you don't need to keep that activity state when minimizing according to your requirement.

    
    

提交回复
热议问题