Comments (3)
为了精简依赖已经删除了(以后不会再依赖任何多余库/权限), 而且我认为自己实现也是很简单的
from serialize.
实际上ViewModel保存数据只需要自己写个构造参数即可, 如果你觉得之前的用法好用可以复制下旧的代码到自己项目中直接兼容
from serialize.
了解。
from serialize.
Related Issues (20)
- 强东哥,我在object里面序列化了一个Sting类型的LIst集合,在activity里面add数据,关闭程序之后再打开好像就没了,重新初始化了,是我写的有问题吗? HOT 2
- 界面传递参数可以支持onActivityResult结果获取吗 HOT 7
- 集合无法保存数据 HOT 8
- serialLiveData在子线程获取value时异常 HOT 8
- 每次覆盖安装应用后,数据模型集合都会变成默认值 HOT 15
- 每次更新存储,在mmkv.default文件都会多一条数据,还是部分乱码 HOT 5
- 期望全局可配置 MMKV 的 mode 和 cryptKey HOT 7
- 计划使用JSON/Protobuf等来实现反序列化/序列化解决Parcelable/Serializable增删字段导致的问题
- 可以支持多文件吗 HOT 1
- 支持 Preference 渐进迁移么? HOT 2
- 我直接写在kotlin file里面好像不行,一定要加上类名吗? HOT 2
- 重启应用后,保存的对象为空了 HOT 4
- App版本升级后,所有数据全没了 HOT 22
- 导入 SharedPreferences 后如何读取 HOT 5
- 改变状态后立马杀掉进程,重新打开APP,状态又变成默认值 HOT 11
- 框架版本更新问题 HOT 4
- 使用动态键名的默认值并没有进行隔离? HOT 9
- 例子里面的 JsonSerializeHook 使用到了 ProtoBuf HOT 2
- 老哥,我刚才预览自定义视图时候有个初始化MMKV的异常信息,这个需要弄吗? HOT 3
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 serialize.