Skip to content

Commit 9042e6b

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents e219345 + 43e182d commit 9042e6b

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed

README.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# RateDialog  [![API](https://img.shields.io/badge/API-9%2B-blue.svg?style=flat)](https://android-arsenal.com/api?level=9)
2+
An android library to display a rate dialog in an easy way.
3+
4+
---
5+
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+
14+
## Screenshots
15+
16+
<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)