Example #1
0
 public PhotoLibraryObserver(ImageCache imageCache)
 {
     _imageCache = imageCache;
 }
Example #2
0
 private void AfterViewDidLoad()
 {
     _imageCache = ImageCache.Instance;
     ConfigureView();
     ConfigureToolbar();
     _imageCache.PhotoLibraryChanged += OnPhotoLibraryChanged;
     Task.Run(() => _imageCache.StartCachingImagePreview());
 }