I'm developing an Avalonia App using ReactiveUI and MVVM. I want to display an image from a web URL, what would be the best course of action to achieve this ? I have setup the following Binding :
this.OneWayBind(
ViewModel,
vm => vm.UserProfileImageUrl,
v => v.ProfileImage.Source,
ImageConverter
).DisposeWith(disposables);
And Binding adapter :
private IImage ImageConverter(string arg)
{
}
But I don't know how to implement the Binding adapter to download the image without blocking the UI. Is there some tool like Glide on Android ?
Thank you in advance,