public void onEventMainThread(TroubleshootingActionsChangedEvent event){
  if (mUsersSortedByName.isEmpty() && mTroubleshooter.isServerHealthy()) {
    LOG.d("Buendia API is available and users are not, retrying sync.");
    onSyncRetry();
  }
}

public void onEventMainThread ( TroubleshootingActionsChangedEvent event ) { if ( mUsersSortedByName . isEmpty ( ) && mTroubleshooter . isServerHealthy ( ) ) { LOG . d ( "Buendia API is available and users are not, retrying sync." ) ; onSyncRetry ( ) ; } }
restart user fetch if we have no users and the buendia api just became available .
