setRating ( )源码实例Demo

android.widget.RatingBar#setRating ( )源码实例Demo

下面列出了android.widget.RatingBar#setRating ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: Upchain-wallet   文件: ViewHolder.java
public ViewHolder setRating(int viewId, float rating, int max)
{
	RatingBar view = getView(viewId);
	view.setMax(max);
	view.setRating(rating);
	return this;
}
 
源代码2 项目: likequanmintv   文件: ViewHolder.java
public ViewHolder setRating(int viewId, float rating, int max)
{
    RatingBar view = getView(viewId);
    view.setMax(max);
    view.setRating(rating);
    return this;
}
 
public BaseViewHolder setRating(int viewId, float rating, int max) {
    RatingBar view = getView(viewId);
    view.setMax(max);
    view.setRating(rating);
    return this;
}
 
public BaseViewHolder setRating(int viewId, float rating) {
    RatingBar view = getView(viewId);
    view.setRating(rating);
    return this;
}
 
源代码5 项目: OpenEyes   文件: ViewHolder.java
public ViewHolder setRating(int viewId, float rating)
{
    RatingBar view = getView(viewId);
    view.setRating(rating);
    return this;
}
 
源代码6 项目: LLApp   文件: RecyclerViewHolder.java
public RecyclerViewHolder setRating(int viewId, float rating) {
    RatingBar view = getView(viewId);
    view.setRating(rating);
    return this;
}
 
源代码7 项目: PocketEOS-Android   文件: ViewHolder.java
public ViewHolder setRating(int viewId, float rating)
{
    RatingBar view = getView(viewId);
    view.setRating(rating);
    return this;
}
 
源代码8 项目: all-base-adapter   文件: ViewHolder.java
public ViewHolder setRating(int viewId, float rating, int max) {
    RatingBar view = getView(viewId);
    view.setMax(max);
    view.setRating(rating);
    return this;
}
 
源代码9 项目: XFrame   文件: XViewHolder.java
public XViewHolder setRating(@IdRes int viewId, float rating, int max) {
    RatingBar view = getView(viewId);
    view.setMax(max);
    view.setRating(rating);
    return this;
}
 
源代码10 项目: Bailan   文件: ViewHolder.java
public ViewHolder setRating(int viewId, float rating, int max) {
    RatingBar view = getView(viewId);
    view.setMax(max);
    view.setRating(rating);
    return this;
}
 
源代码11 项目: Android-BLE   文件: RecyclerViewHolder.java
public RecyclerViewHolder setRating(int viewId, float rating, int max) {
    RatingBar view = getView(viewId);
    view.setMax(max);
    view.setRating(rating);
    return this;
}
 
源代码12 项目: StickyItemDecoration   文件: RecyclerViewHolder.java
public RecyclerViewHolder setRating(int viewId, float rating) {
    RatingBar view = findViewById(viewId);
    view.setRating(rating);
    return this;
}
 
源代码13 项目: StickyItemDecoration   文件: RecyclerViewHolder.java
public RecyclerViewHolder setRating(int viewId, float rating, int max) {
    RatingBar view = findViewById(viewId);
    view.setMax(max);
    view.setRating(rating);
    return this;
}
 
源代码14 项目: LLApp   文件: RecyclerViewHolder.java
public RecyclerViewHolder setRating(int viewId, float rating, int max) {
    RatingBar view = getView(viewId);
    view.setMax(max);
    view.setRating(rating);
    return this;
}
 
源代码15 项目: all-base-adapter   文件: ViewHolder.java
public ViewHolder setRating(int viewId, float rating) {
    RatingBar view = getView(viewId);
    view.setRating(rating);
    return this;
}
 
源代码16 项目: Bailan   文件: ViewHolder.java
public ViewHolder setRating(int viewId, float rating, int max) {
    RatingBar view = getView(viewId);
    view.setMax(max);
    view.setRating(rating);
    return this;
}
 
源代码17 项目: imsdk-android   文件: BaseViewHolder.java
/**
 * Sets the rating (the number of stars filled) and max of a RatingBar.
 *
 * @param viewId The view id.
 * @param rating The rating.
 * @param max    The range of the RatingBar to 0...max.
 * @return The BaseViewHolder for chaining.
 */
public BaseViewHolder setRating(@IdRes int viewId, float rating, int max) {
    RatingBar view = getView(viewId);
    view.setMax(max);
    view.setRating(rating);
    return this;
}
 
源代码18 项目: NIM_Android_UIKit   文件: BaseViewHolder.java
/**
 * Sets the rating (the number of stars filled) and max of a RatingBar.
 *
 * @param viewId The view id.
 * @param rating The rating.
 * @param max    The range of the RatingBar to 0...max.
 * @return The BaseViewHolder for chaining.
 */
public BaseViewHolder setRating(int viewId, float rating, int max) {
    RatingBar view = getView(viewId);
    view.setMax(max);
    view.setRating(rating);
    return this;
}
 
/**
 * Sets the rating (the number of stars filled) and max of a RatingBar.
 *
 * @param viewId The view id.
 * @param rating The rating.
 * @param max    The range of the RatingBar to 0...max.
 * @return The BaseAdapterHelper for chaining.
 */
public BaseAdapterHelper setRating(int viewId, float rating, int max) {
    RatingBar view = retrieveView(viewId);
    view.setMax(max);
    view.setRating(rating);
    return this;
}
 
源代码20 项目: basic-adapter   文件: BaseViewHolder.java
/**
 * 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.
 */
public BaseViewHolder setRating(int viewId, float rating) {
    RatingBar view = getView(viewId);
    view.setRating(rating);
    return this;
}
 
源代码评论
动弹
沙发等你来抢
 方法所在类