【发布时间】:2017-09-17 09:23:33
【问题描述】:
//我的适配器。 我正在尝试找到一种方法来在下面的代码中实现毕加索或它的活动来显示图像。我还使用 gridview 来显示图像。下面的getImage()是负责获取url的方法
public CategoryViewHolder(View itemView) {
super(itemView);
ButterKnife.bind(this, itemView);
mContext = itemView.getContext();
}
public void bindCategory(Category category) {
mNameTextView.setText(category.getImage());
}
}
}
【问题讨论】:
-
你想在调用 getImage() 时显示图像吗?
-
是的@LokkeshwaranJ