You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -75,7 +75,9 @@ If you have adjusted the dialog to suit your preferences, you have multiple poss
75
75
ratingBuilder.showIfMeetsConditions()
76
76
```
77
77
78
-
But you can also just create the dialog to show it later
78
+
This method also returns a boolean to indicate whether the dialog shows up or not. So you can prevent showing other dialogs at the same time as the rating dialog.
79
+
80
+
If you want you can also just create the dialog to show it later
79
81
80
82
```kotlin
81
83
ratingBuilder.create()
@@ -99,7 +101,7 @@ If you want to use the in-app review from Google instead of the library dialog,
99
101
.useGoogleInAppReview()
100
102
```
101
103
102
-
You should also add a `completeListener` which gets called if the in-app review flow has been completed. The boolean indicates if the flow started correctly, but not if the in-app review was displayed to the user.
104
+
You can also add a `completeListener` which gets called if the in-app review flow has been completed. The boolean indicates if the flow was started correctly, but not if the in-app review was displayed to the user.
@@ -184,6 +186,12 @@ The following settings will only take effect if the library dialog is used (and
184
186
.setIconDrawable(iconDrawable:Drawable?) // default is null which means app icon
185
187
```
186
188
189
+
- Change the theme of the dialog
190
+
191
+
```kotlin
192
+
.setCustomTheme(customTheme:Int)
193
+
```
194
+
187
195
- Change the rate later button text
188
196
189
197
```kotlin
@@ -362,12 +370,18 @@ These settings will only apply if custom feedback is enabled:
362
370
.setRatingThreshold(ratingThreshold:RatingThreshold) // default is RatingThreshold.THREE
363
371
```
364
372
365
-
- Choose if the dialogs should be cancelable (by clicking outside or using the back button)
373
+
- Choose if the dialogs should be cancelable (by clicking outside or using the back button). This case is treated the same as a click on the `later` button.
366
374
367
375
```kotlin
368
376
.setCancelable(cancelable:Boolean) // default is false
0 commit comments