Hi all,
I have the following code in my project:
image = await ImageService.Instance.LoadFile(filePath)
.DownSample((int) width)
.AsJPGStreamAsync(95).ConfigureAwait(false);
In Android and iOS all works fine, but UWP throws an exception: The application called an interface that was marshalled for a different thread.
I tried to call this function with Device.InvokeOnMainThreadAsync(...), but always the same error on UWP. Has anyone an Idea how can I fix this in UWP?
Thank you!