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