@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);
   }
 }
 public ListWithReferencesBean<RouteV2Bean> getResponse(RoutesBean result) {
   List<RouteV2Bean> beans = new ArrayList<RouteV2Bean>();
   for (RouteBean route : result.getRoutes()) beans.add(getRoute(route));
   return list(beans, result.isLimitExceeded(), false);
 }