开发者

Android why is activity visible after onStop called

开发者 https://www.devze.com 2023-02-26 07:56 出处:网络
I have placed prints in all my activity call backs and what I am seeing is a sequence onStart()->onResume()->onStop()but after onStop is called I see the same activity the main activity displaying.Do

I have placed prints in all my activity call backs and what I am seeing is a sequence onStart()->onResume()->onStop() but after onStop is called I see the same activity the main activity displaying. Docs indicate this is called when activity is no longer visible but it looks to me like its getting called when my service is put in the foreground. So which one is guaranteed to be called when it becomes not visible? onStop() was called but my activity is still visible a开发者_开发问答nd user can interact with it.


Android why is activity visible after onStop called

0

精彩评论

暂无评论...
验证码 换一张
取 消