What is the best way to load an image from a URL in Xamarin Forms and display it correctly in Android and iOS?
I try several things without good results: FFImageLoading library with AspectFill, AspectFit and Fill.
I want to put an image without knowing your dimensions to fill width container and resizing your height according to the aspect. If the width of the image is smaller than the container width, I want to scale the image to fill container width. If the image width is higher than the container width, I want the same. Of course I don't know the container width because normally it is the width of the screen.
If possible, I want to do all in the shared project without using custom renderers.
Thanks!