Example #1
0
 public static void SetImage(this UIImageView view, string url, UIImage placeholder = null, SDWebImageOptions options = SDWebImageOptions.None, SDWebImageDownloaderProgressBlock progress = null, SDWebImageCompletedBlock completed = null)
 {
     if (!Uri.IsWellFormedUriString(url, UriKind.Absolute))
     {
         return;
     }
     SDWebImageManager.SharedManager.SetImage(view, NSUrl.FromString(url), placeholder, options, progress, completed);
 }
Example #2
0
 public static void SetBackgroundImage(this UIButton button, string url, UIControlState state, UIImage placeholder = null, SDWebImageOptions options = SDWebImageOptions.None, SDWebImageCompletedBlock completed = null)
 {
     if (!Uri.IsWellFormedUriString(url, UriKind.Absolute))
     {
         return;
     }
     SDWebImageManager.SharedManager.SetBackgroundImage(button, NSUrl.FromString(url), state, placeholder, options, completed);
 }
Example #3
0
 public static void SetImage(this UIImageView view, NSUrl url, UIImage placeholder = null, SDWebImageOptions options = SDWebImageOptions.None, SDWebImageDownloaderProgressBlock progress = null, SDWebImageCompletedBlock completed = null)
 {
     SDWebImageManager.SharedManager.SetImage(view, url, placeholder, options, progress, completed);
 }
Example #4
0
 public static void SetBackgroundImage(this UIButton button, NSUrl url, UIControlState state, UIImage placeholder = null, SDWebImageOptions options = SDWebImageOptions.None, SDWebImageCompletedBlock completed = null)
 {
     SDWebImageManager.SharedManager.SetBackgroundImage(button, url, state, placeholder, options, completed);
 }
Example #5
0
 public static void SetImage(this UIButton button, string url, UIControlState state, UIImage placeholder = null, SDWebImageOptions options = SDWebImageOptions.None, SDWebImageCompletedBlock completed = null)
 {
     if (!Uri.IsWellFormedUriString (url, UriKind.Absolute)) return;
     SDWebImageManager.SharedManager.SetImage (button, NSUrl.FromString (url), state, placeholder, options, completed);
 }
Example #6
0
 public static void SetImage(this UIButton button, NSUrl url, UIControlState state, UIImage placeholder = null, SDWebImageOptions options = SDWebImageOptions.None, SDWebImageCompletedBlock completed = null)
 {
     SDWebImageManager.SharedManager.SetImage (button, url, state, placeholder, options, completed);
 }
Example #7
0
 public static void SetImage(this UIImageView view, string url, UIImage placeholder = null, SDWebImageOptions options = SDWebImageOptions.None, SDWebImageDownloaderProgressBlock progress = null, SDWebImageCompletedBlock completed = null)
 {
     if (!Uri.IsWellFormedUriString (url, UriKind.Absolute)) return;
     SDWebImageManager.SharedManager.SetImage (view, NSUrl.FromString (url), placeholder, options, progress, completed);
 }
Example #8
0
 public static void SetImage(this UIImageView view, NSUrl url, UIImage placeholder = null, SDWebImageOptions options = SDWebImageOptions.None, SDWebImageDownloaderProgressBlock progress = null, SDWebImageCompletedBlock completed = null)
 {
     SDWebImageManager.SharedManager.SetImage (view, url, placeholder, options, progress, completed);
 }