0

How can I build an array of ImageView which will be initialize once and when I would want to draw an image on the screen I simply call that card on the specific position? I am building a blackjack application and for some reason when I'm trying to use photos that consist more than 200 kilobyte it runs slow, but with photos that consists 30 bytes it's fine! So I thought if I will store all the photos on the program instead withdrawal than each time it will save memory, right?

Almog Talker
  • 101
  • 9
  • The file size is not relevant. I can make a 25kb PNG which needs more RAM than a 1mb PNG easily. What size are the images? – Simon Apr 27 '15 at 12:03

1 Answers1

0

Images can be cached to local sd-card or phone memory. Url is considered the key. If the key is present in sd-card, display images from sd-card else display image by downloading from server and cache the same to location of your choice. The cache limit can set. You can also choose your own location to cache images. Cache can also be cleared.

For more information visit link

holder.ImgArticlePhoto = view.FindViewById<ImageView> (Resource.Id.img_ArticlePhoto); 
Koush.UrlImageViewHelper.SetUrlDrawable (holder.ImgArticlePhoto,item.Image);
Community
  • 1
  • 1
Ibrahim Sušić
  • 438
  • 3
  • 20