예제 #1
0
 /// <summary>
 ///   Creates a new instance of the image loader
 /// </summary>
 /// <param name="cacheSize">
 /// The maximum number of entries in the LRU cache
 /// </param>
 /// <param name="memoryLimit">
 /// The maximum number of bytes to consume by the image loader cache.
 /// </param>
 public ImageLoader(int cacheSize, int memoryLimit)
 {
     cache = new LRUCache <Uri, UIImage> (cacheSize, memoryLimit, sizer);
 }
 /// <summary>
 ///   Creates a new instance of the image loader
 /// </summary>
 /// <param name="cacheSize">
 /// The maximum number of entries in the LRU cache
 /// </param>
 /// <param name="memoryLimit">
 /// The maximum number of bytes to consume by the image loader cache.
 /// </param>
 public ImageLoader(int cacheSize, int memoryLimit)
 {
     cache = new LRUCache <Uri, Drawable /*UIImage*/>(cacheSize, memoryLimit, sizer);
 }