@ UiThread public void collapseParentRange ( int startParentPosition , int parentCount ) { int endParentPosition = startParentPosition + parentCount ; for ( int i = startParentPosition ; i < endParentPosition ; i ++ ) { collapseParent ( i ) ; } }
Collapses all parents in a range of indices in the list of parents .