@Override
                            public void onClick(Object dataObject) {
                                if(mOnItemClickListener!=null)
                                    mOnItemClickListener.onItemClicked(0, dataObject);

                            }
Set the top view and add the fling listener
library/src/main/java/com/lorentzos/flingswipe/SwipeFlingAdapterView.java