Skip to content

Commit 43e182d

Browse files
authored
Update README.md
1 parent 09c283e commit 43e182d

File tree

1 file changed

+66
-1
lines changed

1 file changed

+66
-1
lines changed

README.md

Lines changed: 66 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,73 @@
1-
# RateDialog
1+
# RateDialog  [![API](https://img.shields.io/badge/API-9%2B-blue.svg?style=flat)](https://android-arsenal.com/api?level=9)
22
An android library to display a rate dialog in an easy way.
33

44
---
55

6+
## Releases:
7+
8+
#### Current release: 1.0.4.
9+
10+
You can see all the library releases [here](https://github.com/marcoscgdev/HeaderDialog/releases).
11+
12+
---
13+
614
## Screenshots
715

816
<img src="https://raw.githubusercontent.com/marcoscgdev/RateDialog/master/device-2017-04-14-140649.png" width="350">
17+
18+
---
19+
20+
## Features
21+
22+
- Roboto font
23+
- Multilanguage
24+
- Easy configuration
25+
- Fully material designed
26+
27+
---
28+
29+
## Usage:
30+
31+
### Adding the depencency
32+
33+
Add this to your root *build.gradle* file:
34+
35+
```
36+
allprojects {
37+
repositories {
38+
...
39+
maven { url 'https://jitpack.io' }
40+
}
41+
}
42+
```
43+
44+
Now add the dependency to your app build.gradle file:
45+
46+
```
47+
N/A
48+
```
49+
50+
### Creating the dialog
51+
52+
Show the dialog each 3 days or each 7 launches (default config):
53+
54+
```
55+
RateDialog.with(this);
56+
```
57+
58+
Shows the dialog with custom config. Use 0 to get the default value:
59+
60+
```
61+
RateDialog.with(this, 2, 0); // daysUntilPrompt, launchesUntilPrompt
62+
```
63+
64+
Show the dialog instantly:
65+
66+
```
67+
RateDialog.show(this);
68+
```
69+
70+
---
71+
>See the *sample project* to clarify any queries you may have.
72+
73+
---

0 commit comments

Comments
 (0)