APP处于后台无法更新UI

版权声明:有些文章写的很随意,那是仅作为个人记录的文章,建议直接关掉,多看一秒亏一秒 https://blog.csdn.net/qq_36523667/article/details/82770132

在APP处于后台的时候,更新UI会失效

这就要求UI库的设计,会检测是否hasFocus,如果没有,可以在

onWindowFoucusChanged后再去执行

猜你喜欢

转载自blog.csdn.net/qq_36523667/article/details/82770132
今日推荐