示例#1
0
        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
            });
        }
示例#2
0
        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();
        }