Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
operando committed Sep 14, 2016
1 parent c5f4d22 commit b513989
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Annotation style SharedPreferences.

## Model

```
```java
@Pref(name = "app_status")
public class AppStatus extends PrefModel {

Expand All @@ -25,7 +25,7 @@ public class AppStatus extends PrefModel {

## Save

```
```java
AppStatus appStatus = new AppStatus();
appStatus.appName = "Garum";
appStatus.startupCount = ++appStatus.startupCount;
Expand All @@ -37,7 +37,7 @@ appStatus.save();

/data/data/[package name]/shared_prefs/app_status.xml

```
```xml
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<string name="appName">Garum</string>
Expand All @@ -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
<dependency>
<groupId>com.os.operando.garum</groupId>
Expand All @@ -70,6 +71,7 @@ Please refer to the Wiki.
```

or Gradle:

```groovy
compile 'com.os.operando.garum:garum:0.9.0'
```
Expand Down Expand Up @@ -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

0 comments on commit b513989

Please sign in to comment.