You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to translate this C# code for use with Fabulous.XamarinForms.FFImageLoading:
vart=ImageService.Instance.LoadStream(async c =>awaitimage.OpenReadAsync());// image is a Xamarin.Essentials.FileResult.t.Transform(newRotateTransformation(90));usingvarimageStream=awaitt.AsPNGStreamAsync();
But in my F# code the AsPNGStreamAsync extension method cannot be found.
I also don't understand why open Fabulous.XamarinForms.FFImageLoading or open FFImageLoading both don't seem to work and I need to use use FFImageLoading.ImageService ... and FFImageLoading.Transformations ... instead. But I suspect this may have something to do with my problem.
Can anyone tell me what I'm doing wrong?
The text was updated successfully, but these errors were encountered:
Question / Discussion
I'm trying to translate this C# code for use with Fabulous.XamarinForms.FFImageLoading:
I've gotten this far in F#:
But in my F# code the
AsPNGStreamAsync
extension method cannot be found.I also don't understand why
open Fabulous.XamarinForms.FFImageLoading
oropen FFImageLoading
both don't seem to work and I need to use useFFImageLoading.ImageService ...
andFFImageLoading.Transformations ...
instead. But I suspect this may have something to do with my problem.Can anyone tell me what I'm doing wrong?
The text was updated successfully, but these errors were encountered: