private void loadGenericEventsFinished(GetPracticesResponse response) { _callback.loading(false, null); if (response.showError(_context)) { _events.addAll(response.practices()); Collections.sort(_events); _callback.done(_events); } }
private void loadPracticesFinished(GetPracticesResponse response) { if (response.showError(_context)) { _events.addAll(response.practices()); loadGenericEvents(); } else { _callback.loading(false, null); } }