protected final void refreshSessionLayer(final Location location){
  if (!mRefreshSessionPending && isVisible()) {
    Log.d(TAG,"Updating session layer");
    mRefreshSessionPending=true;
    triggerSessionObjectsUpdate(null);
    sessionObjectsRefreshTime=System.currentTimeMillis();
    sessionObjectsRefreshedAt=location;
  }
 else   if (!isVisible()) {
    Log.v(TAG,"Not visible, skipping refresh");
  }
 else {
    Log.v(TAG,"Session layer is refreshing. Skipping refresh..");
  }
}

protected final void refreshSessionLayer ( final Location location ) { if ( ! mRefreshSessionPending && isVisible ( ) ) { Log . d ( TAG , "Updating session layer" ) ; mRefreshSessionPending = true ; triggerSessionObjectsUpdate ( null ) ; sessionObjectsRefreshTime = System . currentTimeMillis ( ) ; sessionObjectsRefreshedAt = location ; } else if ( ! isVisible ( ) ) { Log . v ( TAG , "Not visible, skipping refresh" ) ; } else { Log . v ( TAG , "Session layer is refreshing. Skipping refresh.." ) ; } }
refreshes reference and session layer . if another refresh is in progress , update is skipped .
