Пример #1
0
        // Token: 0x060004D1 RID: 1233 RVA: 0x00021340 File Offset: 0x0001F540
        private static void OnPhotoChanged(BindableObject bindable, object oldValue, object newValue)
        {
            NewImageCell newImageCell = bindable as NewImageCell;

            if (newValue != null && !newValue.Equals(oldValue))
            {
                newImageCell.image.Source = ImageSource.FromStream(() => new MemoryStream(Convert.FromBase64String(newValue.ToString())));
            }
        }
Пример #2
0
        // Token: 0x060004CE RID: 1230 RVA: 0x000212C8 File Offset: 0x0001F4C8
        private static void OnTitleChanged(BindableObject bindable, object oldValue, object newValue)
        {
            NewImageCell newImageCell = bindable as NewImageCell;

            if (!newValue.Equals(oldValue))
            {
                newImageCell.label.Text = newValue.ToString();
            }
        }