Android代码-shared-preferences-helper

时间:2022-08-26 11:57:15
【文件属性】:

文件名称:Android代码-shared-preferences-helper

文件大小:68KB

文件格式:ZIP

更新时间:2022-08-26 11:57:15

Android代码

Android Shared Preferences Helper Android Library to handle SharedPreferences boilerplate code and other tools Download dependencies { compile 'com.github.seanzor:shared-preferences-helper:1.1.0' } Usage Define the preferences keys in a resource file: pref_number_of_runs And use them: // As in most cases, create a default shared preference final SharedPreferences defaultSharedPreferences = PreferenceManager.getDefaultSharedPreferences(this); // Create the helper which will wrap the Sh


【文件预览】:
shared-preferences-helper-master
----gradlew(5KB)
----settings.gradle(27B)
----LICENSE.txt(11KB)
----library()
--------src()
--------gradle.properties(94B)
--------.gitignore(12B)
--------build.gradle(487B)
----CONTRIBUTING.md(613B)
----.travis.yml(364B)
----gradle()
--------wrapper()
----README.md(2KB)
----gradlew.bat(2KB)
----gradle.properties(929B)
----.gitignore(103B)
----app()
--------src()
--------.gitignore(7B)
--------build.gradle(709B)
----build.gradle(364B)

网友评论