// Path: library/src/main/java/com/dreamliner/rvhelper/interfaces/ItemClickListener.java
// public interface ItemClickListener {
//     public void onItemClick(View view, int position);
// }
// 
// Path: library/src/main/java/com/dreamliner/rvhelper/interfaces/ItemLongListener.java
// public interface ItemLongListener {
//     boolean onLongClick(View view, int position);
// }  


import androidx.recyclerview.widget.RecyclerView;
import android.view.View;
import com.dreamliner.rvhelper.interfaces.ItemClickListener;
import com.dreamliner.rvhelper.interfaces.ItemLongListener;
package com.dreamliner.rvhelper.viewholder;




/**
 * @author chenzj
 * @Title: BaseViewHolder
 * @Description: 类的描述 - ViewHolder基类.实现了相关的点击回调
 * @date 2016/6/14 15:18
 * @email admin@chenzhongjin.cn
 */
public class BaseViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener, View.OnLongClickListener {

    private ItemClickListener mItemClickListener;
    private ItemLongListener mItemLongListener;

    public BaseViewHolder(View itemView) {
        super(itemView);
    }

// Path: library/src/main/java/com/dreamliner/rvhelper/interfaces/ItemClickListener.java
// public interface ItemClickListener {
//     public void onItemClick(View view, int position);
// }
// 
// Path: library/src/main/java/com/dreamliner/rvhelper/interfaces/ItemLongListener.java
// public interface ItemLongListener {
//     boolean onLongClick(View view, int position);
// }  


// Path: library/src/main/java/com/dreamliner/rvhelper/viewholder/BaseViewHolder.java
import androidx.recyclerview.widget.RecyclerView;
import android.view.View;
import com.dreamliner.rvhelper.interfaces.ItemClickListener;
import com.dreamliner.rvhelper.interfaces.ItemLongListener;

package com.dreamliner.rvhelper.viewholder;




/**
 * @author chenzj
 * @Title: BaseViewHolder
 * @Description: 类的描述 - ViewHolder基类.实现了相关的点击回调
 * @date 2016/6/14 15:18
 * @email admin@chenzhongjin.cn
 */
public class BaseViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener, View.OnLongClickListener {

    private ItemClickListener mItemClickListener;
    private ItemLongListener mItemLongListener;

    public BaseViewHolder(View itemView) {
        super(itemView);
    }

    public BaseViewHolder(View itemView, ItemClickListener itemClickListener) {