drag-sort-listview
drag-sort-listview copied to clipboard
Nullptr fix
Attempt at fixing the crash when dragging listview items and exiting the view at the same time. It is suspected that some other component is stealing touch events, preventing the GestureDetector to see the DOWN MotionEvent. Without that event, the GestureDetecter eventually calls the onScroll method of the gesturelistener with a null initial event, leading to an application crash