SharedPrefs-ktx

Additional

Language
Kotlin
Version
v1.0.0 (Oct 4, 2019)
Created
Sep 29, 2019
Updated
Oct 3, 2019
Owner
GuilhE
Contributor
GuilhE
1
Activity
Badge
Generate
Download
Source code

Blurb

SharedPrefs-ktx:

Save and load objects from SharedPreferences in a faster and simpler way. This project is a "Kotlin extensions" version of SharedPrefsUtils

Version 1.x

  • October, 2019 - Added multi-module
  • September, 2019 - Kotlin version

Getting started

The first step is to include SharedPrefs-ktx into your project, for example, as a Gradle compile dependency:

implementation 'com.github.guilhe.sharedprefs-ktx:converter-gson:${LATEST_VERSION}'

implementation 'com.github.guilhe.sharedprefs-ktx:converter-moshi:${LATEST_VERSION}'

Sample usage

To use it with Gson check here To use it with Moshi check here

Dependencies

Bugs and Feedback

For bugs, questions and discussions please use the Github Issues.

LICENSE

Copyright (c) 2019-present GuilhE

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.