use of com.abewy.android.apps.klyph.adapter.holder.PicturePrimaryTextHolder in project Klyph by jonathangerbaud.
the class TagAdapter method mergeViewWithData.
@Override
protected void mergeViewWithData(View view, GraphObject data) {
super.mergeViewWithData(view, data);
PicturePrimaryTextHolder holder = (PicturePrimaryTextHolder) getHolder(view);
// holder.getPicture().setImageDrawable(null);
Tag tag = (Tag) data;
holder.getPrimaryText().setText(tag.getName());
String url = FacebookUtil.getImageURLForId(tag.getId());
loadImage(holder.getPicture(), url, AttrUtil.getResourceId(getContext(view), R.attr.squarePlaceHolderIcon), data);
}
Aggregations