private void removeItemAtInt(int index,boolean updateChildrenOnMenuViews){
  if ((index < 0) || (index >= mItems.size()))   return;
  mItems.remove(index);
  if (updateChildrenOnMenuViews)   onItemsChanged(true);
}

private void removeItemAtInt ( int index , boolean updateChildrenOnMenuViews ) { if ( ( index < 0 ) || ( index >= mItems . size ( ) ) ) return ; mItems . remove ( index ) ; if ( updateChildrenOnMenuViews ) onItemsChanged ( true ) ; }
remove the item at the given index and optionally forces menu views to update .
