rating

fun RatingBar.rating(rating: Float?)

Exposes the setter for RatingBar.setRating. If rating is null the rating is set to 0.0F.