This PR fixes an issue which caused the single click listener not to being triggered.
The problem appears when clicking onto a cell (no matter if header or not).
It can be reproduced by launching the example project and single-clicking onto a cell: a Toast will appear incorrectly indicating that a long click has been performed.
The checks using mGestureDetector.onTouchEvent(e) aren't necessary into AbstractItemClickListener subclasses because the methods in which are used are called during a mGestureDetector.onTouchEvent(e) invocation, started from the onInterceptTouchEvent method of the AbstractItemClickListener.
This PR fixes an issue which caused the single click listener not to being triggered. The problem appears when clicking onto a cell (no matter if header or not).
It can be reproduced by launching the example project and single-clicking onto a cell: a Toast will appear incorrectly indicating that a long click has been performed.
The checks using
mGestureDetector.onTouchEvent(e)
aren't necessary intoAbstractItemClickListener
subclasses because the methods in which are used are called during amGestureDetector.onTouchEvent(e)
invocation, started from theonInterceptTouchEvent
method of theAbstractItemClickListener
.