setStarRating

fun setStarRating(@FloatRange(from = 0.0, to = 1.0) starRating: Float)

Set star rating by starRating. If mStarRating is greater than mStarCountNumber, it will be set to mStarCountNumber.