-
- All Implemented Interfaces:
public final class RatingDialog.Builder
-
-
Constructor Summary
Constructors Constructor Description RatingDialog.Builder(Context context)
-
Method Summary
-
-
Constructor Detail
-
RatingDialog.Builder
RatingDialog.Builder(Context context)
-
-
Method Detail
-
threshold
final RatingDialog.Builder threshold(Integer value)
-
session
final RatingDialog.Builder session(Integer value)
-
icon
final RatingDialog.Builder icon(@DrawableRes() Integer icon)
-
icon
final RatingDialog.Builder icon(Drawable icon)
-
positiveButton
final RatingDialog.Builder positiveButton(@StringRes() Integer text, @ColorRes() Integer textColor, @DrawableRes() Integer background, Function1<Dialog, Unit> clickListener)
-
negativeButton
final RatingDialog.Builder negativeButton(@StringRes() Integer text, @ColorRes() Integer textColor, @DrawableRes() Integer background, Function1<Dialog, Unit> clickListener)
-
ratingBarColor
final RatingDialog.Builder ratingBarColor(@ColorRes() Integer color, @ColorRes() Integer backgroundColor)
-
formTitle
final RatingDialog.Builder formTitle(@StringRes() Integer text, @ColorRes() Integer textColor)
-
feedbackTextColor
final RatingDialog.Builder feedbackTextColor(@ColorRes() Integer textColor)
-
formHint
final RatingDialog.Builder formHint(@StringRes() Integer text, @ColorRes() Integer textColor)
-
formSubmitText
final RatingDialog.Builder formSubmitText(@StringRes() Integer text, @ColorRes() Integer textColor, @ColorRes() Integer backgroundColor)
-
formCancelText
final RatingDialog.Builder formCancelText(@StringRes() Integer text, @ColorRes() Integer textColor, @ColorRes() Integer backgroundColor)
-
playstoreUrl
@Deprecated(message = "Use the threshold cleared listener to set an action", replaceWith = @ReplaceWith(imports = {}, expression = "onThresholdCleared()")) final RatingDialog.Builder playstoreUrl(String url)
-
playstoreUrl
@Deprecated(message = "Use the threshold cleared listener to set an action", replaceWith = @ReplaceWith(imports = {}, expression = "onThresholdCleared()")) final RatingDialog.Builder playstoreUrl(@StringRes() Integer url)
-
onThresholdCleared
final RatingDialog.Builder onThresholdCleared(Function3<RatingDialog, Float, Boolean, Unit> listener)
-
onThresholdFailed
final RatingDialog.Builder onThresholdFailed(Function3<RatingDialog, Float, Boolean, Unit> listener)
-
onRatingChanged
final RatingDialog.Builder onRatingChanged(Function2<Float, Boolean, Unit> listener)
-
onRatingBarFormSubmit
final RatingDialog.Builder onRatingBarFormSubmit(Function1<String, Unit> listener)
-
incrementSessionsAutomatically
final RatingDialog.Builder incrementSessionsAutomatically(Boolean value)
-
build
final RatingDialog build()
-
-
-
-