Search in sources :

Example 1 with Media

use of com.mxt.anitrend.model.entity.anilist.Media in project anitrend-app by AniTrend.

the class GroupMediaViewHolder method onBindViewHolder.

/**
 * Load image, text, buttons, etc. in this method from the given parameter
 * <br/>
 *
 * @param entityGroup Is the model at the current adapter position
 */
@Override
public void onBindViewHolder(EntityGroup entityGroup) {
    Media model = (Media) entityGroup;
    binding.setModel(model);
    binding.seriesTitle.setTitle(model);
    binding.executePendingBindings();
}
Also used : Media(com.mxt.anitrend.model.entity.anilist.Media)

Aggregations

Media (com.mxt.anitrend.model.entity.anilist.Media)1