Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Updated documentation re: Passing LikeButton to event listeners.
  • Loading branch information
jd-alexander committed Jan 3, 2016
1 parent 0cb97db commit 09561fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Add this to your module's `build.gradle` file:
```gradle
dependencies {
...
compile 'com.github.jd-alexander:LikeButton:0.1.3'
compile 'com.github.jd-alexander:LikeButton:0.1.4'
}
}
```
Expand Down Expand Up @@ -125,12 +125,12 @@ To listen to events from your like button, simply implement the listener that's

likeButton.setOnLikeListener(new OnLikeListener() {
@Override
public void liked() {
public void liked(LikeButton likeButton) {

}

@Override
public void unLiked() {
public void unLiked(LikeButton likeButton) {

}
});
Expand Down

0 comments on commit 09561fa

Please sign in to comment.