没有合适的资源?快使用搜索试试~ 我知道了~
kotlin-shared-preferences
共36个文件
xml:10个
png:10个
kt:3个
需积分: 13 0 下载量 37 浏览量
2021-03-26
03:06:17
上传
评论
收藏 2.81MB ZIP 举报
温馨提示
共享首选项 用于访问和修改Context.getSharedPreferences(String,int)返回的首选项数据的接口。 对于任何特定的首选项集,所有客户端都共享一个此类的单个实例。 对首选项的修改必须经过一个Editor对象,以确保首选项值保持一致状态并控制将它们提交到存储时的状态。 从各种get方法返回的对象必须被应用程序视为不可变的。 注意:此类提供了强大的一致性保证。 它正在使用昂贵的操作,这可能会使应用程序变慢。 经常更改属性或可以容忍丢失的属性应使用其他机制。 有关更多详细信息,请阅读有关Editor#commit()和Editor#apply()的注释。 资源 :books: 演示版 作者 丹妮拉·拉米雷斯·戈麦斯-
资源推荐
资源详情
资源评论
收起资源包目录
kotlin-shared-preferences-main.zip (36个子文件)
kotlin-shared-preferences-main
.gitignore 232B
app
.gitignore 6B
build.gradle 1KB
src
androidTest
java
com
dany
sharedpreferences
ExampleInstrumentedTest.kt 679B
main
AndroidManifest.xml 735B
res
mipmap-xhdpi
ic_launcher_round.png 7KB
ic_launcher.png 5KB
mipmap-mdpi
ic_launcher_round.png 3KB
ic_launcher.png 3KB
layout
activity_main.xml 2KB
mipmap-xxhdpi
ic_launcher_round.png 12KB
ic_launcher.png 8KB
drawable
ic_launcher_background.xml 5KB
mipmap-anydpi-v26
ic_launcher_round.xml 272B
ic_launcher.xml 272B
drawable-v24
ic_launcher_foreground.xml 2KB
mipmap-hdpi
ic_launcher_round.png 5KB
ic_launcher.png 4KB
mipmap-xxxhdpi
ic_launcher_round.png 16KB
ic_launcher.png 10KB
values-night
themes.xml 839B
values
strings.xml 135B
colors.xml 378B
themes.xml 839B
java
com
dany
sharedpreferences
MainActivity.kt 2KB
test
java
com
dany
sharedpreferences
ExampleUnitTest.kt 350B
proguard-rules.pro 750B
settings.gradle 54B
build.gradle 642B
gradlew 5KB
demo-1.gif 3.65MB
README.md 1KB
gradlew.bat 2KB
gradle.properties 1KB
gradle
wrapper
gradle-wrapper.properties 230B
gradle-wrapper.jar 53KB
共 36 条
- 1
资源评论
君倾策
- 粉丝: 21
- 资源: 4635
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功