void OnTapped(object sender, ItemTappedEventArgs e) { Data.Image Item = e.Item as Data.Image; ImageControl IC = new ImageControl(Item, manage.GetServerConnector()); Navigation.PushAsync(new ImageDetail { BindingContext = IC }); }
protected override void OnAppearing() { IC = (ImageControl)BindingContext; Img = IC.getImage(); uidLabel.Text = Img.uid; osLabel.Text = Img.os; tagLabel.Text = Img.Tag; portLabel.Text = Img.port.ToString(); statusLabel.Text = Img.Status; shortLabel.Text = Img.short_id; uuidLabel.Text = Img.uuid; base.OnAppearing(); }