package com.marshalchen.common.demoofui.swipelayoutdemo.adapter; import android.content.Context; import com.marshalchen.common.demoofui.R; import com.marshalchen.common.uimodule.swipelayout.adapters.ArraySwipeAdapter; import java.util.List; /** * Sample usage of ArraySwipeAdapter. * @param <T> */ public class ArraySwipeAdapterSample<T> extends ArraySwipeAdapter { public ArraySwipeAdapterSample(Context context, int resource) { super(context, resource); } public ArraySwipeAdapterSample(Context context, int resource, int textViewResourceId) { super(context, resource, textViewResourceId); } public ArraySwipeAdapterSample(Context context, int resource, Object[] objects) { super(context, resource, objects); } public ArraySwipeAdapterSample(Context context, int resource, int textViewResourceId, Object[] objects) { super(context, resource, textViewResourceId, objects); } public ArraySwipeAdapterSample(Context context, int resource, List objects) { super(context, resource, objects); } public ArraySwipeAdapterSample(Context context, int resource, int textViewResourceId, List objects) { super(context, resource, textViewResourceId, objects); } @Override public int getSwipeLayoutResourceId(int position) { return R.id.swipe; } }