Skip to content

Commit 1611486

Browse files
authored
Update README.md
1 parent 1f5c1e2 commit 1611486

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,23 +95,25 @@ RateDialog.showDialog(this);
9595
### Creating custom dialog instance
9696

9797
```java
98-
RateDialog rateDialog = new RateDialog(this, "custom_rate_dialog");
98+
RateDialog rateDialog = new RateDialog(this, "custom_rate_dialog_key");
9999
rateDialog.init();
100100
```
101101

102102
You can also use custom config
103103

104104
```java
105-
RateDialog rateDialog = new RateDialog(this, "custom_rate_dialog", daysUntilPrompt, launchesUntilPrompt);
105+
RateDialog rateDialog = new RateDialog(this, "custom_rate_dialog_key", daysUntilPrompt, launchesUntilPrompt);
106106
```
107107

108108
Show the custom dialog instantly:
109109

110110
```java
111-
RateDialog rateDialog = new RateDialog(this, "custom_rate_dialog");
111+
RateDialog rateDialog = new RateDialog(this, "custom_rate_dialog_key");
112112
rateDialog.showDialog();
113113
```
114114

115+
**NOTE:** Use a different dialog key for each dialog instance.
116+
115117
Custom dialog strings (just override it):
116118

117119
```

0 commit comments

Comments
 (0)