Пример #1
0
        public UIImage RequestImageOrEmpty(string imageUrl, Action <NSIndexPath> callback)
        {
            if (string.IsNullOrEmpty(imageUrl))
            {
                return(UIImage.FromFile(NoImagePath));
            }

            return(ImageDownloader.DefaultRequestImage(imageUrl, new ImageUpdater(callback), ImageWebRequestInit));
        }
Пример #2
0
 public UIImage RequestImage(string imageUrl, NSIndexPath indexPath, Action <NSIndexPath> callback)
 {
     return(ImageDownloader.DefaultRequestImage(imageUrl, new ImageUpdater(callback, indexPath), ImageWebRequestInit));
 }