DragSortRecycler icon indicating copy to clipboard operation
DragSortRecycler copied to clipboard

Check visibility of the viewhandle

Open snooplsm opened this issue 10 years ago • 1 comments

If the viewhandle is not visible, dragging should not happen. Also it would be nice if there could be a limit to where one could drag to. Working on that now though.

if (handleView == null) { Log.e(TAG, "The view ID " + viewHandleId + " was not found in the RecycleView item"); return false; }

if(handleView.getVisibility()!=View.VISIBLE) { return false; }

snooplsm avatar Dec 29 '14 18:12 snooplsm

Good idea, I've added that for the next release. Thank you!

emileb avatar Dec 29 '14 19:12 emileb