示例#1
0
 BitmapCache(DiskCache diskCache)
 {
     this.diskCache = diskCache;
     this.memCache  = new LRUCache <string, Bitmap> (10);
 }
示例#2
0
 public static BitmapCache CreateCache(Android.Content.Context ctx, string cacheName, string version = "1.0")
 {
     return(new BitmapCache(DiskCache.CreateCache(ctx, cacheName, version)));
 }
示例#3
0
 BitmapCache(DiskCache diskCache)
 {
     this.diskCache = diskCache;
     this.memCache = new LRUCache<string, Bitmap> (10);
 }