GithubHelp home page GithubHelp logo

obitonaruto / esperandro Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dkunzler/esperandro

0.0 2.0 0.0 341 KB

Easy SharedPreference Engine foR ANDROid

Home Page: http://dkunzler.github.io/esperandro

License: Other

Java 100.00%

esperandro's Introduction

esperandro

Easy SharedPreference Engine foR ANDROid

Website with complete tutorial

esperandro is for everybody that uses SharedPreferences in his Android App and is tired of the verbose usage of them.

Load and save preferences without esperandro:

  • String superFancyPreference = preferences.getString("superFancyPreferenceKey", "default value")
  • preferences.edit().putString("superFancyPreferenceKey", superFancyPrefence).commit()

Load and save preferences with esperandro:

  • String superFancyPreference = preferences.superFancyPreferenceKey()
  • preferences.superFancyPreferenceKey(superFancyPreference)

Type safe, easy, less error-prone.

More information about integration and deeper explanation of usage can be found on the website.

For everybody that just thinks "give me the stuff":

buildscript {
    repositories {
      mavenCentral()
    }
    dependencies {
        // replace with the current version of the Android plugin
        classpath 'com.android.tools.build:gradle:1.2.3'
        // the latest version of the android-apt plugin from https://bitbucket.org/hvisser/android-apt
        classpath 'com.neenbedankt.gradle.plugins:android-apt:1.5.1'
    }
}

apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'


repositories {
     mavenCentral();
}

dependencies {
    compile 'de.devland.esperandro:esperandro-api:2.2.0'
    apt 'de.devland.esperandro:esperandro:2.2.0'

    // optional, if we want to use object serialization but don't provide our own Serializer
    // compile 'de.devland.esperandro:esperandro-gson-addon:2.2.0'
    // or
    // compile 'de.devland.esperandro:esperandro-jackson-addon:2.2.0'
}

Current Travis status

Build Status

esperandro's People

Contributors

dkunzler avatar stonecs avatar scompt avatar

Watchers

James Cloos avatar ObitoNaruto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.