问题
I have a ListView with some stuff in and that List has some images that I load in a background task. But when I login and see the LIstview the images are not shown if I go to a detail page from one of my ListViewItems and come back the images are shown.
This is my "async" task:
private async void DownloadImage(ImageObject imageObject)
{
ImageByte = await _IDataService.GetImage(imageObject.Id);
ImageObjectImageSource = await LoadImageAsync(ImageByte);
imageObject.ImageObjectSource = ImageObjectImageSource;
}
来源:https://stackoverflow.com/questions/34244838/images-downloaded-in-a-async-method-shown-after-coming-back-from-a-detail-page