Skip to content
This repository has been archived by the owner on Jan 10, 2019. It is now read-only.
/ Stanley Public archive

DEPRECATED - Convenient stashing of simple data formats on Android with SharedPreferences

License

Notifications You must be signed in to change notification settings

iambmelt/Stanley

Repository files navigation

Stanley

**DEPRECATED - I'm not maintaining this anymore

Build Status Download Android Arsenal

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.

About

DEPRECATED - Convenient stashing of simple data formats on Android with SharedPreferences

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages