File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -70,19 +70,26 @@ implementation 'com.github.marcoscgdev:RateDialog:1.0.6'
7070Show the dialog each 3 days and each 7 launches (default config):
7171
7272``` java
73- RateDialog . with (this );
73+ RateDialog . init (this );
7474```
7575
76- Shows the dialog with custom config. Use 0 to get the default value :
76+ Shows the dialog with custom config:
7777
7878``` java
79- RateDialog . with(this , 2 , 0 ); // daysUntilPrompt, launchesUntilPrompt
79+ RateDialog . init(this , 2 , 0 ); // daysUntilPrompt, launchesUntilPrompt
80+ ```
81+
82+ You can also get the default config values:
83+
84+ ``` java
85+ RateDialog . DEFAULT_DAYS_UNTIL_PROMPT
86+ RateDialog . DEFAULT_LAUNCHES_UNTIL_PROMPT
8087```
8188
8289Show the dialog instantly:
8390
8491``` java
85- RateDialog . show (this );
92+ RateDialog . showDialog (this );
8693```
8794
8895### Creating custom dialog instance
You can’t perform that action at this time.
0 commit comments