本文整理了Java中com.zx.zxutils.other.ZXRecyclerAdapter.ZxRvHolder
类的一些代码示例,展示了ZxRvHolder
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZxRvHolder
类的具体详情如下:
包路径:com.zx.zxutils.other.ZXRecyclerAdapter.ZxRvHolder
类名称:ZxRvHolder
暂无
代码示例来源:origin: StannyBing/ZXUtils
public TextView getTextView(int id) {
return get(id);
}
代码示例来源:origin: StannyBing/ZXUtils
public RvHolder(View itemView) {
super(itemView);
viewHolder = ZxRvHolder.getViewHolder(itemView);
}
代码示例来源:origin: StannyBing/ZXUtils
public void setTextView(int id, CharSequence charSequence) {
getTextView(id).setText(charSequence);
}
代码示例来源:origin: StannyBing/ZXUtils
public static ZxRvHolder getViewHolder(View view) {
ZxRvHolder viewHolder = (ZxRvHolder) view.getTag();
if (viewHolder == null) {
viewHolder = new ZxRvHolder(view);
view.setTag(viewHolder);
}
return viewHolder;
}
代码示例来源:origin: StannyBing/ZXUtils
@Override
public void onBindHolder(ZxRvHolder holder, Object itemEntity, int position) {
holder.getTextView(R.id.tv_text).setText(datalist.get(position));
}
}
代码示例来源:origin: StannyBing/ZXUtils
public Button getButton(int id) {
return get(id);
}
代码示例来源:origin: StannyBing/ZXUtils
public ImageView getImageView(int id) {
return get(id);
}
内容来源于网络,如有侵权,请联系作者删除!