文件名称:Android代码-fiberglass
文件大小:314KB
文件格式:ZIP
更新时间:2022-08-25 22:42:42
Android代码
> Easy lightweight SharedPreferences library for Android in Kotlin using delegated properties Idea Delegated properties in Kotlin allow you to execute arbitrary code whenever a field is accessed. The cool thing about delegated properties is that we can package up the code and reuse it. Let's package up the notion of getting from SharedPreferences and writing to SharedPreferences. Usage Just stick metadata in your classes with specific delegated properties class User(val ctx: Context) { compan
【文件预览】:
fiberglass-master
----.gitignore(97B)
----app()
--------.gitignore(7B)
--------build.gradle(973B)
--------src()
--------proguard-rules.pro(666B)
----settings.gradle(23B)
----build.gradle(611B)
----gradlew(5KB)
----README.md(2KB)
----screenshot.png(92KB)
----gradlew.bat(2KB)
----gradle.properties(855B)
----.idea()
--------misc.xml(3KB)
--------gradle.xml(675B)
--------vcs.xml(180B)
--------copyright()
--------codeStyleSettings.xml(9KB)
--------compiler.xml(709B)
--------modules.xml(456B)
----logo.png(71KB)
----gradle()
--------wrapper()
----lib()
--------.gitignore(7B)
--------build.gradle(722B)
--------src()
--------proguard-rules.pro(666B)
----icon.png(13KB)