Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有一种通用方法可以通过按“返回”、“主页”或选择其他以前打开的应用程序之一来了解应用程序切换到后台?
您当前的活动onPause()将被调用。参考
onPause()