Enclosing class:
RatingAppearance


public static final class RatingAppearance.Builder
extends java.lang.Object

Constructor Summary

Constructors
Constructor and Description
Builder()
Creates a new RatingAppearance.Builder for constructing a RatingAppearance

Method Summary

All Methods
Instance Methods
Concrete Methods
Modifier and TypeMethod and 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.

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

Builder

public Builder()
Creates a new RatingAppearance.Builder for constructing a RatingAppearance

Method Detail

build

@NonNull
public RatingAppearance build()
Constructs a RatingAppearance with the specified appearance values.
Returns:
RatingAppearance.

setBackgroundStarColor

@NonNull
public RatingAppearance.Builder setBackgroundStarColor(int backgroundStarColor)
Returns Rating appearance configured with background star color.
Parameters:
backgroundStarColor - Rating background star color.
Returns:
RatingAppearance.Builder with the specified background star color.

setProgressStarColor

@NonNull
public RatingAppearance.Builder setProgressStarColor(int progressStarColor)
Returns Rating appearance configured with progress star color.
Parameters:
progressStarColor - Rating progress star color.
Returns:
RatingAppearance.Builder with the specified progress star color.