I have a converter in my Windows Phone application but it seems you cannot use "await" methods in it?
public object Convert(object value, Type targetType, object parameter, string language)
{
_IDataService = ServiceLocator.Current.GetInstance<IDataService>();
string imageUrlId = (string)value;
byte[] imageByte = await iDataService.GetImage(imageUrlId);
return LoadImageAsync(imageByte);
}
If I make the method async Task it says IValueConverter has no method Task async. This converter returns type ImageSource.