package com.gh.gamecenter.adapter.viewholder;

import com.gh.gamecenter.common.base.BaseRecyclerViewHolder;
import com.gh.gamecenter.common.callback.OnListClickListener;
import com.gh.gamecenter.databinding.NewsImage2ItemBinding;
import com.gh.gamecenter.feature.entity.NewsEntity;

/**
 * Created by LGT on 2016/7/5.
 * viewholder
 */
public class NewsImage2ViewHolder extends BaseRecyclerViewHolder<NewsEntity> {

    public NewsImage2ItemBinding binding;

    public NewsImage2ViewHolder(NewsImage2ItemBinding binding, OnListClickListener listClickListener) {
        super(binding.getRoot(), listClickListener);
        this.binding = binding;
        this.binding.getRoot().setOnClickListener(this);
    }
}
