use of android.widget.RatingBar in project SmartAndroidSource by jaychou2012.
the class AbstractAQuery method rating.
/**
* Set the rating of a RatingBar.
*
* @param rating the rating
* @return self
*/
public T rating(float rating) {
if (view instanceof RatingBar) {
RatingBar rb = (RatingBar) view;
rb.setRating(rating);
}
return self();
}
use of android.widget.RatingBar in project RoboBinding by RoboBinding.
the class AbstractRatingBarAttributeTest method initializeViewAndListeners.
@Before
public void initializeViewAndListeners() {
view = new RatingBar(RuntimeEnvironment.application);
viewAddOn = new MockRatingBarAddOn(view);
}
use of android.widget.RatingBar in project Android-Skin-Loader by fengjundev.
the class CommonViewHolder method setRating.
public CommonViewHolder setRating(int viewId, float rate) {
RatingBar ratingBar = getView(viewId);
ratingBar.setRating(rate);
return this;
}
use of android.widget.RatingBar in project baseAdapter by hongyangAndroid.
the class ViewHolder method setRating.
public ViewHolder setRating(int viewId, float rating) {
RatingBar view = getView(viewId);
view.setRating(rating);
return this;
}
use of android.widget.RatingBar in project baseAdapter by hongyangAndroid.
the class ViewHolder method setRating.
public ViewHolder setRating(int viewId, float rating, int max) {
RatingBar view = getView(viewId);
view.setMax(max);
view.setRating(rating);
return this;
}
Aggregations