android-preferences

Additional

Language
Java
Version
v1.1.0 (Aug 25, 2014)
Created
May 3, 2014
Updated
Oct 12, 2014 (Retired)
Owner
Ink Applications (InkApplications)
Contributor
Andrew Reitz (AndrewReitz)
1
Activity
Badge
Generate
Download
Source code

android-preferences

An easier way to use and consolidate preference in your Android project. Based off of Jake Wharton's preferences in u2020

It's best to set up a way to ensure only one instance of each preference will be available in your application. This can best be done by using Dagger (see u2020 for an example) but can also be done with an overridden Application class (see [sample] (https://github.com/InkApplications/android-preferences/blob/master/preferences-sample/src/main/java/com/inkapplications/preferences/sample/SampleApplication.java))

For more info see the sample and JavaDocs

Usage

compile 'com.inkapplications:android-preferences:1.1.+'

License

Copyright 2014 Andrew Reitz

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.