private void HookModelToView(View view, PedestrianModel pedestrianModel, ViewGroup upperView) { view.LayoutParameters = MapHelper.GetLayoutParams(upperView, _model.Map.MapService.Map, pedestrianModel.CurrentLocation); //PedestrianRequestModel request = pedestrianModel.CurrentRequest; //if (request != null && _pedestrianInfoPopups.ContainsKey(request)) // _pedestrianInfoPopups[request].Update(); ImageView pedestrianCallIcon = view.FindViewById <ImageView>(Resource.Id.pedestrianCallIcon); pedestrianModel.MadeCall += (sender, e) => pedestrianCallIcon.Visibility = ViewStates.Visible; }
public PedestrianLogic(PedestrianModel model, AdaptersExtender adaptersExtender, CityLogic city) : base(model, adaptersExtender, city) { _model = model; }