public void onConfigurationChanged(){
  int curFirst=pager.getCurrentScreen() * PAGE_SIZE;
  calPageSize();
  int newPage=curFirst / PAGE_SIZE;
  removeViewAt(1);
  afterPlatformListGot();
  pager.setCurrentScreen(newPage);
}

public void onConfigurationChanged ( ) { int curFirst = pager . getCurrentScreen ( ) * PAGE_SIZE ; calPageSize ( ) ; int newPage = curFirst / PAGE_SIZE ; removeViewAt ( 1 ) ; afterPlatformListGot ( ) ; pager . setCurrentScreen ( newPage ) ; }
after the screen rotates , this method will be called to refresh the list of gridviews
