From b5139892627204290fca7a7196da0d505bb48952 Mon Sep 17 00:00:00 2001 From: operando Date: Wed, 14 Sep 2016 09:02:02 +0900 Subject: [PATCH] Update README --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 392051a..0086520 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Annotation style SharedPreferences. ## Model -``` +```java @Pref(name = "app_status") public class AppStatus extends PrefModel { @@ -25,7 +25,7 @@ public class AppStatus extends PrefModel { ## Save -``` +```java AppStatus appStatus = new AppStatus(); appStatus.appName = "Garum"; appStatus.startupCount = ++appStatus.startupCount; @@ -37,7 +37,7 @@ appStatus.save(); /data/data/[package name]/shared_prefs/app_status.xml -``` +```xml Garum @@ -60,7 +60,8 @@ Please refer to the Wiki. ## Download -[Download the latest JAR][1] or grab via Maven: +[ ![Download](https://api.bintray.com/packages/operandoos/maven/garum/images/download.svg) ](https://bintray.com/operandoos/maven/garum/_latestVersion) or grab via Maven: + ```xml com.os.operando.garum @@ -70,6 +71,7 @@ Please refer to the Wiki. ``` or Gradle: + ```groovy compile 'com.os.operando.garum:garum:0.9.0' ``` @@ -103,5 +105,3 @@ compile 'com.os.operando.garum:garum:0.9.0' 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. - -[1]: https://search.maven.org/remote_content?g=com.github.operando&a=garum&v=LATEST