Android CardView Drag and Drop ItemTouchHelper
<p>I tried to look all over google and SO but couldn't find a solution to my problem.</p>

<p>Basically, I've got a RecyclerView utilizing CardViews, and I want to allow Drag&amp;Drop on those cardviews. Swiping works fine, but in the ItemTouchHelper, Drag and drop doesn't work. I'm not sure why, I've specified the correct movement directions.</p>

<p>I can swipe left and right for the swipeDirs, but Moving up and down doesn't work for the dragDirs. I'm not sure if its an issue with the emulator itself not recognizing "drags" because if I attach UP and DOWN to the swipeDirs, I can swipe in every direction as a test.</p>

<p>I'm not getting any visuals of Drag and Drop working</p>

<pre><code>ItemTouchHelper.Callback scb = new ItemTouchHelper.SimpleCallback(ItemTouchHelper.UP | ItemTouchHelper.DOWN, ItemTouchHelper.LEFT | ItemTouchHelper.RIGHT){
    @Override
    public boolean onMove(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder, RecyclerView.ViewHolder target){
        //call back to adapter to swap positions, the Error is not with this line of code (at least not yet)
        return true;
    }

    @Override
    public void onSwiped(RecyclerView.ViewHolder viewHolder, int direction){

    }
};

ItemTouchHelper ith = new ItemTouchHelper(scb);
ith.attachToRecyclerView(recyclerView);
</code></pre>

<p>Any help is appreciated, Thanks</p>