[Google]再见SharedPreferences拥抱DataStore (二)
前言Google 增加了一个新 Jetpack 的成员 DataStore,主要用来替换 SharedPreferences, 而 Jetpack DataStore 有两种实现方式:Proto DataStore:存储类的对象(typed objects ),通过 protocol buffers 将对象序列化存储在本地Preferences DataStore:以键值对的形式存储在本地和 S....
![[Google]再见SharedPreferences拥抱DataStore (二)](https://ucc.alicdn.com/pic/developer-ecology/c313f334c1b542a78c80b5b405800412.png)
[Google] 再见 SharedPreferences 拥抱 Jetpack DataStore
Google 新增加了一个新 Jetpack 的成员 DataStore,主要用来替换 SharedPreferences, DataStore 应该是开发者期待已久的库,DataStore 是基于 Flow 实现的,一种新的数据存储方案,它提供了两种实现方式:Proto DataStore:存储类的对象(typed objects ),通过 protocol buffers 将对象序列化存储在....
![[Google] 再见 SharedPreferences 拥抱 Jetpack DataStore](https://ucc.alicdn.com/pic/developer-ecology/8758f7f4e8434daa9e70aa44fc73d483.png)
本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。
google您可能感兴趣
- google多模态
- google轻量
- google文本
- google任务
- google语言
- google图像
- google开源
- google gemma
- google模型
- google pro
- google engine
- google earth
- google数据集
- google gee
- google数据
- google play
- google分辨率
- google chrome
- google应用
- google解析
- google搜索
- google影像
- google ai
- google浏览器
- google分析
- google谷歌
- google网站
- google guava
- google地图
- google landsat