WhiteDG / Easysp
Licence: mit
A SharedPreferences wrapper that has a fluent interface to store data
Stars: ✭ 75
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Easysp
Kotpref
Kotpref - Android SharedPreferences delegation library for Kotlin
Stars: ✭ 618 (+724%)
Mutual labels: sharedpreferences
Easyandroid
一个完整基于kotlin的安卓开发框架,采用了mvvm设计模式。涵盖了: 1、基于retrofit2封装的通过kotlin协程实现的网络框架 2、基于阿里开源router修改的api-router实现项目模块化 3、基于glide的图片加载缓存框架 4、基于room实现的往来数据缓存加载 5、基于step实现的数据异步提交 6、基于PreferenceHolder实现的本地数据快速存储 7、基于mlist实现的简单复杂列表的快速开发扩展 8、定制的toolbar可以自适应异形屏,挖孔屏,水滴屏等等。。 本框架几乎涵盖了开发所需的所有模块组件。简单fork之后就可以基于框架快速开发。
Stars: ✭ 33 (-56%)
Mutual labels: util
Changed Log
Returns all commit messages between 2 versions of an NPM module
Stars: ✭ 58 (-22.67%)
Mutual labels: util
Shpref Library
💾 Android Kotlin library. Shared preferences wrapper. (2020)
Stars: ✭ 16 (-78.67%)
Mutual labels: sharedpreferences
Object.reduce
Reduces an object to a value that is the accumulated result of running each property in the object through a callback. JavaScript/node.js utility.
Stars: ✭ 11 (-85.33%)
Mutual labels: util
Android Debug Database
A library for debugging android databases and shared preferences - Make Debugging Great Again
Stars: ✭ 7,946 (+10494.67%)
Mutual labels: sharedpreferences
Materialpreferences
A highly flexible set of lovely looking views that provides functionality of preferences.
Stars: ✭ 495 (+560%)
Mutual labels: sharedpreferences
Androidtools
Android开发工具类库.Toolkit of Android development, make your app developing easier!
Stars: ✭ 67 (-10.67%)
Mutual labels: util
Dialogutil
common used dialog with material style ( in support v7),ios style,get top activity automatically, invoke everywhere (any thread , any window)
Stars: ✭ 948 (+1164%)
Mutual labels: util
Typedvalue
Tiny library to simplify access to SharedPreferences, Bundle or any other key-value storage
Stars: ✭ 18 (-76%)
Mutual labels: sharedpreferences
Easyandroid
一系列简单、轻量、方便的Android开发工具集合(持续更新中),包括Android动态权限、SharedPreferences、反射、日志、Toast、Bundle、MVP、线程池、Html、图文混排、蒙层引导、拍照、图库选择等
Stars: ✭ 1,039 (+1285.33%)
Mutual labels: sharedpreferences
Secured Preference Store
A cryptography library and a SharedPreferences wrapper for Android that encrypts the content with 256 bit AES encryption. The Encryption key is securely stored in device's KeyStore.
Stars: ✭ 562 (+649.33%)
Mutual labels: sharedpreferences
Easypreferences
This class simplifies calls to SharedPreferences in a line of code. It can also do more like: saving a list of strings, integers and saving images. All in 1 line of code!
Stars: ✭ 34 (-54.67%)
Mutual labels: sharedpreferences
Schematics Utilities
🛠️ Useful exported utilities for working with Schematics
Stars: ✭ 73 (-2.67%)
Mutual labels: util
EasySP
EasySP is a simple sharedpreferences util for android. You can use EasySP to simplify the operation of the SharedPreferences data. EasySP supports chain calls, you can write multiple data by one line of code.
Installation
Add the depedency in your build.gradle. The library is distributed via jCenter.
dependencies {
implementation 'com.white:easysp:1.0.0'
}
Usage
- save data to sharedpreferences.xml
EasySP.init(context).putBoolean("boolean", true);
// you can also use string resource value as the key
EasySP.init(context).putBoolean(R.string.key_bool, true);
// or specify a custom name for the preferences' name:
EasySP.init(context,"Custom").putBoolean("boolean", true);
- save multiple data by one line of code
EasySP.init(context)
.putBoolean(R.string.key_bool, true)
.putInt(R.string.key_int, 1)
.putString(R.string.key_string, "string")
.putLong(R.string.key_long, 1000000000)
.putFloat(R.string.key_float, 1.1f)
.put("put", 100)
.putStringSet(R.string.key_set, strings);
- read data
boolean booleanData = EasySP.init(context).getBoolean("bool");
boolean booleanData = EasySP.init(context).getBoolean(R.string.key_bool,defValue);
- remove data
EasySP.init(context).remove("bool");
EasySP.init(context).remove(R.string.key_bool);
- clear data
EasySP.init(context).clear();
License
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].