@Override
    public void onSuccess(StopsForRouteBean stopsForRoute) {

      TabBarController rootController = MobileApplicationContext.getRootController();
      rootController.setSelectedIndex(0);

      System.out.println("showing stops for route");

      MapViewController map = MobileApplicationContext.getMapViewController();
      map.showStopsForRoute(_route, stopsForRoute);
    }
 @Override
 public void onSuccess(RoutesBean routesBean) {
   List<RouteBean> routes = routesBean.getRoutes();
   if (routes.size() == 1) {
     RouteBean route = routes.get(0);
     System.out.println("route found: " + route.getShortName() + " " + route.getLongName());
     _service.getStopsForRoute(route.getId(), new StopsForRouteHandler(route));
   } else {
     TabBarController rootController = MobileApplicationContext.getRootController();
     rootController.setSelectedIndex(0);
   }
 }
 /** ** Private Methods ** */
 private static void switchToMapView() {
   TabBarController rootController = MobileApplicationContext.getRootController();
   rootController.setSelectedIndex(0);
 }