Code example for ArrayList

Methods: clear

0
    } 
 
    private void resetMappings() { 
        mListMapping.clear();
        mRemovedCursorPositions.clear();
    } 
 
    @Override 
    public Object getItem(int position) {
        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);
    }