public static interface RatingBar.OnRatingBarChangeListener
Modifier and Type | Method and Description |
---|---|
void |
onRatingChanged(RatingBar ratingBar,
float rating,
boolean fromUser)
Notification that the rating has changed.
|
void onRatingChanged(RatingBar ratingBar, float rating, boolean fromUser)
ratingBar
- The RatingBar whose rating has changed.rating
- The current rating. This will be in the range
0..numStars.fromUser
- True if the rating change was initiated by a user's
touch gesture or arrow key/horizontal trackbell movement.