public void onRefreshComplete(){
  state=State.PULL_TO_REFRESH;
  resetHeader();
  lastUpdated=System.currentTimeMillis();
}

public void onRefreshComplete ( ) { state = State . PULL_TO_REFRESH ; resetHeader ( ) ; lastUpdated = System . currentTimeMillis ( ) ; }
set the state back to ' pull to refresh ' . call this method when refreshing the data is finished .
