Im trying to save a value inside my application class and checking the value inside the background service but unfortunately it's not updating at all. Still using the old value that service got the first time accessing the Hawk.get() in sharedpreferences they are using this kind of context Context.MODE_MULTI_PROCESS, but unfortunately it's deprecated anymore. Maybe you can do better if you can apply a solution for this issue. Thanks.
Im trying to save a value inside my application class and checking the value inside the background service but unfortunately it's not updating at all. Still using the old value that service got the first time accessing the
Hawk.get()
in sharedpreferences they are using this kind of contextContext.MODE_MULTI_PROCESS
, but unfortunately it's deprecated anymore. Maybe you can do better if you can apply a solution for this issue. Thanks.