Comments (3)
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.
from mmkv.
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.
from mmkv.
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?
from mmkv.
Related Issues (20)
- Query related to encryption key size increase HOT 1
- ohos中json字符串末尾分号丢失 HOT 5
- 鸿蒙 ide版本 Build Version: 5.0.3.100 api12 初始化的时候必现sysFreeze HOT 4
- MMKV crash (report from bugly) HOT 1
- Importing ArkTS files to JS and TS files is not allowed. <ArkTSCheck> HOT 4
- 鸿蒙导入MMKV初始化崩溃 HOT 3
- Thread 1: "MMKV not initialized properly, must call +initializeMMKV: in main thread before calling any other MMKV methods" HOT 16
- 鸿蒙版本存入字符串和取出字符串不匹配 HOT 1
- MMKV for HarmonyOS NEXT 在ts文件中无法使用 HOT 7
- 【建议】建议MMKV的python端打包发布 HOT 4
- Cocoapods 源最新版本1.2.16 ,没找到1.3.5 等版本 HOT 1
- 保存后,马上读能读到,但杀死app后读读不到 HOT 4
- 在模拟器上会crash,真机上运行正常,这是为啥? HOT 2
- android系统上mmkv生成的数据文件在鸿蒙中使用 HOT 2
- mmkv 1.3.5版本不再支持armeabi-v7a ? HOT 1
- 鸿蒙next版本MMKV 取出的数据比保存的数据丢了一个字符 HOT 2
- Importing ArkTS files to JS and TS files is not allowed. <ArkTSCheck> HOT 2
- 鸿蒙版本的MMKV,double、float、int、bool现在不能返回undefined HOT 4
- 鸿蒙版本的MMKV中没有getAll方法 HOT 1
- 能否提供getAll接口,返回Object类型value
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmkv.