public void OnItemDrop(DragNDropListView parent, View view, int startPosition, int endPosition, long id) { var position = _position[startPosition]; if (startPosition < endPosition) for (var i = startPosition; i < endPosition; ++i) _position[i] = _position[i + 1]; else if (endPosition < startPosition) for (var i = startPosition; i > endPosition; --i) _position[i] = _position[i - 1]; _position[endPosition] = position; }
public void OnItemDrag(DragNDropListView parent, View view, int position, long id) { }