You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want I could make a PR with a simple listener and a rxjava implementation (I don't have enough experience with kotlin channel/flow). I'm using it and it works.
SharedPreferences uses weak references for listeners (it stores them in a WeakHashMap). I see that more as an hack than a solution, because we should keep in mind that a listener can stop listen at any moment when there is no reference to it anymore. So, personally, I believe we should avoid a listener with a non-deterministic existence
I would listen for value changes as I do with android shared preferences. I haven't found a built in solution
The text was updated successfully, but these errors were encountered: