@Override
 public boolean onMove(
     RecyclerView recyclerView,
     RecyclerView.ViewHolder viewHolder,
     RecyclerView.ViewHolder target) {
   mAdapter.onItemMove(viewHolder.getAdapterPosition(), target.getAdapterPosition());
   return true;
 }
 @Override
 public void onSwiped(RecyclerView.ViewHolder viewHolder, int direction) {
   mAdapter.onItemDismiss(viewHolder.getAdapterPosition());
 }