// Path: app/src/main/java/com/lqr/materialdesigndemo/listener/ItemDragListener.java
// public interface ItemDragListener {
//     void onStartDrags(RecyclerView.ViewHolder viewHolder);
// }
// 
// Path: app/src/main/java/com/lqr/materialdesigndemo/listener/ItemMoveListener.java
// public interface ItemMoveListener {
//     boolean onItemMove(int fromPosition, int toPosition);
// 
//     boolean onItemRemove(int position);
// }


import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.lqr.materialdesigndemo.R;
import com.lqr.materialdesigndemo.listener.ItemDragListener;
import com.lqr.materialdesigndemo.listener.ItemMoveListener;
import java.util.Collections;
import java.util.List;
package com.lqr.materialdesigndemo.adapter;




public class ItemTouchHelperAdapter extends RecyclerView.Adapter<ItemTouchHelperAdapter.ItemTouchHelperViewHolder> implements ItemMoveListener {

    private List<String> mData;
// Path: app/src/main/java/com/lqr/materialdesigndemo/listener/ItemDragListener.java
// public interface ItemDragListener {
//     void onStartDrags(RecyclerView.ViewHolder viewHolder);
// }
// 
// Path: app/src/main/java/com/lqr/materialdesigndemo/listener/ItemMoveListener.java
// public interface ItemMoveListener {
//     boolean onItemMove(int fromPosition, int toPosition);
// 
//     boolean onItemRemove(int position);
// }


// Path: app/src/main/java/com/lqr/materialdesigndemo/adapter/ItemTouchHelperAdapter.java
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import com.lqr.materialdesigndemo.R;
import com.lqr.materialdesigndemo.listener.ItemDragListener;
import com.lqr.materialdesigndemo.listener.ItemMoveListener;
import java.util.Collections;
import java.util.List;

package com.lqr.materialdesigndemo.adapter;




public class ItemTouchHelperAdapter extends RecyclerView.Adapter<ItemTouchHelperAdapter.ItemTouchHelperViewHolder> implements ItemMoveListener {

    private List<String> mData;
    private ItemDragListener mItemDragListener;