protected boolean needToRefetchData(){
  long now=System.currentTimeMillis();
  long last=lastDataFetchTime;
  if ((last + fetchIntervalMillis) < now) {
    lastDataFetchTime=now;
    return true;
  }
  return false;
}

protected boolean needToRefetchData ( ) { long now = System . currentTimeMillis ( ) ; long last = lastDataFetchTime ; if ( ( last + fetchIntervalMillis ) < now ) { lastDataFetchTime = now ; return true ; } return false ; }
fetches data if it hasn ' t been fetched in a while .
