protected boolean filterLeftoverView(ViewGroup parent,int childIndex){
  parent.removeViewAt(childIndex);
  return true;
}

protected boolean filterLeftoverView ( ViewGroup parent , int childIndex ) { parent . removeViewAt ( childIndex ) ; return true ; }
filter the child view at index and remove it if appropriate .
