@@ -0,0 +1,1488 @@
+package br.ufg.inf.adopet.util;%0A%0Aimport android.content.Context;%0Aimport android.support.v7.widget.RecyclerView;%0Aimport android.view.GestureDetector;%0Aimport android.view.MotionEvent;%0Aimport android.view.View;%0Aimport android.widget.AdapterView;%0A%0A/**%0A * Created by Rony on 15/08/2016.%0A */%0Apublic class RecyclerItemClickListener implements RecyclerView.OnItemTouchListener %7B%0A%0A    private OnItemClickListener mListener;%0A%0A    GestureDetector mGestureDetector;%0A%0A%0A    public interface OnItemClickListener %7B%0A        void onItemClick(View view, int position);%0A    %7D%0A%0A%0A    public RecyclerItemClickListener(Context context, OnItemClickListener listener) %7B%0A        mListener = listener;%0A        mGestureDetector = new GestureDetector(context, new GestureDetector.SimpleOnGestureListener() %7B%0A            @Override%0A            public boolean onSingleTapUp(MotionEvent e) %7B%0A                return true;%0A            %7D%0A        %7D);%0A    %7D%0A%0A    @Override%0A    public boolean onInterceptTouchEvent(RecyclerView view, MotionEvent e) %7B%0A        View childView = view.findChildViewUnder(e.getX(), e.getY());%0A        if (childView != null && mListener != null && mGestureDetector.onTouchEvent(e)) %7B%0A            mListener.onItemClick(childView, view.getChildAdapterPosition(childView));%0A        %7D%0A        return false;%0A    %7D%0A%0A    @Override%0A    public void onTouchEvent(RecyclerView rv, MotionEvent e) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void onRequestDisallowInterceptTouchEvent(boolean disallowIntercept) %7B%0A%0A    %7D%0A%7D%0A%0A

add click listener for recyclerview list