package com.mikepenz.fastadapter;
import android.support.v7.widget.RecyclerView;
import com.mikepenz.fastadapter.items.GenericAbstractItem;
/**
* Created by mikepenz on 03.02.15.
*/
public interface IGenericItem<Model, Item extends IGenericItem<?, ?, ?>, VH extends RecyclerView.ViewHolder> extends IItem<Item, VH> {
/**
* set's the model of the item
*
* @param model
* @return
*/
GenericAbstractItem<?, ?, ?> withModel(Model model);
/**
* get's the model of the item
*
* @return the model
*/
Model getModel();
}