Review Config
data class ReviewConfig(val starsState: ReviewConfig.State, val commentaryState: ReviewConfig.State, val singleReview: Boolean, val minRating: Double = 0.0, val commentaryMaxLength: Int = 150)
Data representing the review system configuration
At lest one state needs to be State.REQUIRED
See also
Constructors
Link copied to clipboard
constructor(starsState: ReviewConfig.State, commentaryState: ReviewConfig.State, singleReview: Boolean, minRating: Double = 0.0, commentaryMaxLength: Int = 150)
Types
Functions
Properties
Link copied to clipboard
Optional: Sets the max length for the commentary, default to 150
Link copied to clipboard
The state of the EditText in the review dialog
Link copied to clipboard
If enabled the main app will remember the submitted review and prevent the user for reviewing again
Link copied to clipboard
The state of the rating bar in the review dialog