Code example for SparseIntArray

0
import java.util.ArrayList; 
 
public abstract class BaseDragCursorAdapter extends CursorAdapter implements CombinedDragListener {
 
    public static final int REMOVED = -1;
    private SparseIntArray mListMapping = new SparseIntArray();
    private ArrayList<Integer> mRemovedCursorPositions = new ArrayList<Integer>();
 
    public BaseDragCursorAdapter(Context context, Cursor c) {
        super(context, c, 0);
    } 
 
    public BaseDragCursorAdapter(Context context, Cursor c, boolean autoRequery) {
        super(context, c, autoRequery);
    } 
 
    public BaseDragCursorAdapter(Context context, Cursor c, int flags) {
        super(context, c, flags);
    } 
 
    @Override