public BaseViewHolder setRating(int viewId, float rating) {
        RatingBar view = getView(viewId);
        view.setRating(rating);
        return this;
    }
Sets the rating (the number of stars filled) of a RatingBar.

@param viewId The view id.
@param rating The rating.
@return The BaseViewHolder for chaining.
common/src/main/java/com/sxjs/common/base/baseadapter/BaseViewHolder.java