-
- All Implemented Interfaces:
public final class RatingAppearance.BuilderBuilds a RatingAppearance.
-
-
Constructor Summary
Constructors Constructor Description RatingAppearance.Builder()Creates a new RatingAppearance.Builder for constructing a RatingAppearance
-
Method Summary
Modifier and Type Method Description RatingAppearancebuild()Constructs a RatingAppearance with the specified appearance values. RatingAppearance.BuildersetBackgroundStarColor(int backgroundStarColor)Returns Rating appearance configured with background star color. RatingAppearance.BuildersetProgressStarColor(int progressStarColor)Returns Rating appearance configured with progress star color. -
-
Constructor Detail
-
RatingAppearance.Builder
RatingAppearance.Builder()
Creates a new RatingAppearance.Builder for constructing a RatingAppearance
-
-
Method Detail
-
build
@NonNull() RatingAppearance build()
Constructs a RatingAppearance with the specified appearance values.
-
setBackgroundStarColor
@NonNull() RatingAppearance.Builder setBackgroundStarColor(int backgroundStarColor)
Returns Rating appearance configured with background star color.
- Parameters:
backgroundStarColor- Rating background star color.
-
setProgressStarColor
@NonNull() RatingAppearance.Builder setProgressStarColor(int progressStarColor)
Returns Rating appearance configured with progress star color.
- Parameters:
progressStarColor- Rating progress star color.
-
-
-
-