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 loadPractices() {
   _callback.loading(true, "Loading practices...");
   if (_team != null) {
     PracticeResource.instance()
         .getForTeam(
             new GetAllForTeamEventBase(_team, Event.Type.Practice),
             new PracticeResource.GetPracticesResponseHandler() {
               @Override
               public void finish(GetPracticesResponse response) {
                 loadPracticesFinished(response);
               }
             });
   } else {
     PracticeResource.instance()
         .getAll(
             new GetAllEventBase(Event.Type.Practice),
             false,
             new PracticeResource.GetPracticesResponseHandler() {
               @Override
               public void finish(GetPracticesResponse response) {
                 loadPracticesFinished(response);
               }
             });
   }
 }
 private void loadGamesFinished(GetGamesResponse response) {
   if (response.showError(_context)) {
     _events.addAll(response.games());
     loadPractices();
   } else {
     _callback.loading(false, null);
   }
 }