Code example for CursorAdapter

Methods: getItemId

0
        return super.getItem(mListMapping.get(position, position));
    } 
 
    @Override 
    public long getItemId(int position) {
        return super.getItemId(mListMapping.get(position, position));
    } 
 
    @Override 
    public View getDropDownView(int position, View convertView, ViewGroup parent) {
        return super.getDropDownView(mListMapping.get(position, position), convertView, parent);
    } 
 
    @Override 
    public View getView(int position, View convertView, ViewGroup parent) {
        return super.getView(mListMapping.get(position, position), convertView, parent);
    } 
 
    @Override 
    public void drop(int from, int to) {
        if (from != to) {