private void regenerateProgressIndicator(){
  progressIndicatorWrapper.removeAllViews();
  if (progressIndicator != null) {
    progressIndicatorWrapper.addView((View)progressIndicator);
    progressIndicator.setNumberOfItems(pages.size());
    progressIndicator.setSelectedItem(getIndexOfCurrentPage(),false);
  }
}

private void regenerateProgressIndicator ( ) { progressIndicatorWrapper . removeAllViews ( ) ; if ( progressIndicator != null ) { progressIndicatorWrapper . addView ( ( View ) progressIndicator ) ; progressIndicator . setNumberOfItems ( pages . size ( ) ) ; progressIndicator . setSelectedItem ( getIndexOfCurrentPage ( ) , false ) ; } }
updates the progress indicator to reflect the current member variables .
