package com.gh.gamecenter.suggest;

import com.gh.gamecenter.common.base.BaseRecyclerViewHolder;
import com.gh.gamecenter.common.callback.OnListClickListener;
import com.gh.gamecenter.databinding.SuggestPicItemBinding;

import java.util.List;

/**
 * Created by khy on 2017/3/31.
 */
public class SuggestPicViewHolder extends BaseRecyclerViewHolder<List<String>> {
    public SuggestPicItemBinding binding;

    public SuggestPicViewHolder(SuggestPicItemBinding binding) {
        super(binding.getRoot());
        this.binding = binding;
    }

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