So I'm trying to do binding with a list of bitmapImage using async-await, but for some reason I don't see the images on the UI.
In the loop where I'm trying to update the property, when I do:
ImageSource = imageList[2];
or any other number between 0 to 9 then the image is shown in the UI screen.
here is part of my code until the loop where the binding doesn't happend:
EDIT: this was the problam:
private BitmapImage imageSource = null;
public BitmapImage ImageSource
{
get
{
return imageSource;
}
set
{
imageSource = value;
// Call OnPropertyChanged whenever the property is updated
OnPropertyChanged("MessagePerSec");
}
}