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