Beispiel #1
0
        public override void SetAsEmpty(Work.IImageLoaderTask task)
        {
            if (task == null || task.IsCancelled)
            {
                return;
            }

            var control = Control;

            if (control == null)
            {
                return;
            }

            control.Image = null;
        }
Beispiel #2
0
        public override void Set(Work.IImageLoaderTask task, UIImage image, bool animated)
        {
            if (task == null || task.IsCancelled)
            {
                return;
            }

            var control = Control;

            if (control == null)
            {
                return;
            }

            control.Image = image;
        }