how to read and display rating bar value
i[0] // should be selected value
private OnClickListener onclickbutton1 = new OnClickListener() {
public void onCli
rbRatingBar.setOnRatingBarChangeListener(new RatingBar.OnRatingBarChangeListener() {
@Override
public void onRatingChanged(RatingBar ratingBar, float rating, boolean fromUser) {
Float ratingVal = (Float) rating;
Float ratingvalue = (Float) rbRatingBar.getRating();
Toast.makeText(getApplicationContext(), " Ratings : " + String.valueOf(ratingVal) + "", Toast.LENGTH_SHORT).show();
Toast.makeText(getApplicationContext(), " Ratings1 : " + ratingvalue + "", Toast.LENGTH_SHORT).show();
}
});