Code example for RatingBar

Methods: setProgress, setOnRatingBarChangeListener