Search in sources :

Example 1 with TitleHolder

use of com.abewy.android.apps.klyph.adapter.holder.TitleHolder in project Klyph by jonathangerbaud.

the class TitleAdapter method mergeViewWithData.

@Override
protected void mergeViewWithData(View view, GraphObject data) {
    TitleHolder holder = (TitleHolder) view.getTag();
    Title title = (Title) data;
    holder.getTitle().setText(title.getName());
    holder.getShadow().setVisibility(title.getShadow() == true ? View.VISIBLE : View.GONE);
}
Also used : TitleHolder(com.abewy.android.apps.klyph.adapter.holder.TitleHolder) Title(com.abewy.klyph.items.Title)

Aggregations

TitleHolder (com.abewy.android.apps.klyph.adapter.holder.TitleHolder)1 Title (com.abewy.klyph.items.Title)1