Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
guy-4444 authored May 6, 2019
1 parent 14a912b commit 4d8086c
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Step 2. Add the dependency:

```
dependencies {
implementation 'com.github.guy-4444:SmartRateUsDialog-Android:1.00.05'
implementation 'com.github.guy-4444:SmartRateUsDialog-Android:1.00.06'
}
```
## Usage
Expand Down Expand Up @@ -60,6 +60,27 @@ dependencies {
, 48
, 72
);

// With Call Back:
SmartRate.Rate(MainActivity.this
, "Rate Us"
, "Tell others what you think about this app"
, "Continue"
, "Please take a moment and rate us on Google Play"
, "click here"
, "Cancel"
, "Thanks for the feedback"
, Color.parseColor("#2196F3")
, 4
, new SmartRate.CallBack_UserRating() {
@Override
public void userRating(int rating) {
// Do something
// from now disable this option
}
}
);

```

![device-2018-06-06-144912](https://github.com/guy-4444/SmartRateUsDialog-Android/blob/master/desc.png?raw=true)
Expand Down

0 comments on commit 4d8086c

Please sign in to comment.