更新时间:2023-01-04 18:57:24
然后一个简单的解决方案是创建一个类型的静态变量在一些类和所有 code> onResume()
活动的方法与实例初始化它..并且使用检查服务如果conditon
并进行..
Then a simple solution is Create static variable of type Context()
in some Class and in all onResume()
methods activities initialize it with their Instances.. and check it in service using if conditon
and carry on..