Closed zaijie1213 closed 6 years ago
Data-change-listener is not supported by design. We suggest using something like event-bus to notify any interesting clients. Doing this inside a storage framework smells really bad.
Data-change-listener is not supported by design. We suggest using something like event-bus to notify any interesting clients. Doing this inside a storage framework smells really bad.
how to use with eventbus when we don't have any callback from the value changes?
Data-change-listener is not supported by design. We suggest using something like event-bus to notify any interesting clients. Doing this inside a storage framework smells really bad.
how to use with eventbus when we don't have any callback from the value changes?
Whoever makes the change should notify any interesting partners, if any changes on that specific key are meant to be heard. MMKV, as a fundament KV storage framework, chooses not to take that responsibilty.
The language of MMKV
The version of MMKV
v1.0.10
The platform of MMKV
Android
The installation of MMKV
What's the issue?
OnSharedPreferenceChangeListener Is a very common and important API