getImageDataCache() публичный статический Метод

public static getImageDataCache ( ) : ImageDataCache
Результат ImageDataCache
Пример #1
0
 // starts the loading and creating of the image linked to the mediaItem
 public virtual void loadImage()
 {
     if (String.IsNullOrWhiteSpace(imageUrl) || imageLoaded)
     {
         return;
     }
     imageLoaded = true;
     Global.getImageDataCache().requestImageFromUrl(imageUrl, (_imageid) => imageReadySink(_imageid, true));
 }
Пример #2
0
 protected void randomImageReadySink(Image _image)
 {
     Global.getImageDataCache().addImage(this.objectId, _image);
     this.imageReadySink(this.objectId, false);
 }
Пример #3
0
 // use this method to load a standard image for the mediaItem
 public virtual void loadStandardImage()
 {
     Global.getImageDataCache().requestImageFromFile(@"resources/empty.png", (_imageId) => imageReadySink(_imageId, false));
 }