public void collapse ( final int position ) { long itemId = getItemId ( position ) ; if ( ! mExpandedIds . contains ( itemId ) ) { return ; } toggle ( position ) ; }
Collapse the view at given position . Will do nothing if the view is already collapsed .