コード例 #1
0
        public override async Task OnInitialize(object parameter)
        {
            PropertyChanged += GalleryViewModel_PropertyChanged;
            Images           = await _galleryService.LoadImagesAsync();

            await base.OnInitialize(parameter);
        }
コード例 #2
0
 public void LoadImagesAsync()
 {
     _galleryService.LoadImagesAsync().ContinueWith(ImagesLoaded);
 }