Stanley

Project Url: iambmelt/Stanley
Introduction: Convenient stashing of simple data formats on Android with SharedPreferences
More: Author   ReportBugs   
Tags:

**DEPRECATED - I'm not maintaining this anymore

Build Status Download

Convenient stashing of simple data formats on Android with SharedPreferences

Example

Define an interface

@Proxy(name = "Prefs", mode = Context.MODE_PRIVATE)
public interface Person {
    @Accessor
    void setLastName(String name);
}

Make an instance

Person elvis = new ProxyGenerator().create(context, Person.class);

And go!

elvis.setLastName("presley");

Download

compile 'com.brianjmelton:stanley:1.0.1'

License

Copyright 2015 Brian Melton

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.
Apps
About Me
GitHub: Trinea
Facebook: Dev Tools