Пример #1
0
		public static UIImage GetImage (string url, Predicate<string> needToUpdate)
		{
			var updater = new ImageUpdater (url, needToUpdate);
			return updater.Img;
		}
Пример #2
0
		public static void SetImage (UIImageView imgView, string url, Predicate<string> needToUpdate)
		{
			// GC will not collect updater because it will be referenced by ImageLoader
			var updater = new ImageUpdater (imgView, url, needToUpdate);
			updater.SetImage ();
		}
Пример #3
0
        public static UIImage GetImage(string url, Predicate <string> needToUpdate)
        {
            var updater = new ImageUpdater(url, needToUpdate);

            return(updater.Img);
        }