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

Commit

Permalink
Adding color to the README
Browse files Browse the repository at this point in the history
  • Loading branch information
iambmelt committed Aug 14, 2015
1 parent d939323 commit da69e63
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,25 @@ Example

Define an interface

@Proxy(name = "Prefs", mode = Context.MODE_PRIVATE)
public interface PersonProxy {
@Accessor
void setName(String name);
}
```java
@Proxy(name = "Prefs", mode = Context.MODE_PRIVATE)
public interface PersonProxy {
@Accessor
void setName(String name);
}
```

Make an instance

PersonProxy proxy = new ProxyGenerator().create(Context.this, PersonProxy.class);
```java
PersonProxy proxy = new ProxyGenerator().create(Context.this, PersonProxy.class);
```

And go!

proxy.setName("Fred");
```java
proxy.setName("Fred");
```

Download
========
Expand Down

0 comments on commit da69e63

Please sign in to comment.