public PedestrianProfileAdapter(Activity context, PedestrianProfileModel model)
 {
     _context      = context;
     _model        = model;
     _viewCache    = new ViewsCacheDecorator <DriverModel>(() => _context.LayoutInflater.Inflate(Resource.Layout.DriverInfoLayout, null, false));
     _selfItemView = new Lazy <View>(() => _context.LayoutInflater.Inflate(Resource.Layout.PedestrianSelfInfoLayout, null, false));
     model.CheckedDriverChanged                += Model_CheckedDriverChanged;
     model.DriversChanged                      += Model_DriversChanged;
     model.DriversCollectionChanged            += Model_DriversCollectionChanged;
     model.CurrentLocationChanged              += Model_CurrentLocationChanged;
     model.Map.MapService.Map.MapCenterChanged += Map_MapCenterChanged;
     model.Map.MapService.Map.MapZoomChanged   += Map_MapZoomChanged;
     UpdateDrivers();
 }
 public DriverProfileAdapter(Activity context, DriverProfileModel model)
 {
     _context                                   = context;
     _model                                     = model;
     _viewCache                                 = new ViewsCacheDecorator <PedestrianModel>(() => _context.LayoutInflater.Inflate(Resource.Layout.PedestrianInfoLayout, null, false));
     _selfItemView                              = new Lazy <View>(() => _context.LayoutInflater.Inflate(Resource.Layout.DriverSelfInfoLayout, null, false));
     model.PedestriansChanged                  += Model_PedestriansChanged;
     model.PedestriansCollectionChanged        += Model_PedestriansCollectionChanged;
     model.PedestrianRequestsChanged           += Model_PedestrianRequestsChanged;
     model.PedestrianRequestsCollectionChanged += Model_PedestrianRequestsCollectionChanged;
     model.CurrentLocationChanged              += Model_CurrentLocationChanged;
     model.Map.MapService.Map.MapCenterChanged += Map_MapCenterChanged;
     model.Map.MapService.Map.MapZoomChanged   += Map_MapZoomChanged;
     UpdatePedestrians();
     //ShowAllPedestriansInfo();
 }