private int getPositionForId ( final long itemId ) { View v = getViewForId ( itemId ) ; if ( v == null ) { return AdapterView . INVALID_POSITION ; } else { return mWrapper . getPositionForView ( v ) ; } }
Retrieves the position in the list corresponding to itemId .