use of com.abewy.android.apps.klyph.adapter.holder.ItemHolder in project Klyph by jonathangerbaud.
the class ItemAdapter method mergeViewWithData.
@Override
protected void mergeViewWithData(View view, GraphObject data) {
ItemHolder holder = (ItemHolder) view.getTag();
Item item = (Item) data;
holder.getName().setText(item.getName());
holder.getDesc().setAutoLinkMask(Linkify.ALL);
holder.getDesc().setText(item.getDesc());
holder.getShadow().setVisibility(item.getShadow() == true ? View.VISIBLE : View.GONE);
}
Aggregations