Search in sources :

Example 1 with RecyclerItemClickListener

use of com.dexafree.materialList.listeners.RecyclerItemClickListener in project MaterialList by dexafree.

the class MaterialListView method addOnItemTouchListener.

public void addOnItemTouchListener(RecyclerItemClickListener.OnItemClickListener listener) {
    RecyclerItemClickListener itemClickListener = new RecyclerItemClickListener(getContext(), listener);
    itemClickListener.setRecyclerView(this);
    addOnItemTouchListener(itemClickListener);
}
Also used : RecyclerItemClickListener(com.dexafree.materialList.listeners.RecyclerItemClickListener)

Aggregations

RecyclerItemClickListener (com.dexafree.materialList.listeners.RecyclerItemClickListener)1