I am trying to load image from url to an image view in xamarin forms application. But I am getting an error and I am not getting a fix for it.
I am trying to load the image as shown below:
ImageService.Instance
.LoadFile(imageUrl)
.LoadingPlaceholder("user.png")
.Into(btn_profile_pic)
.Source(btn_profile_pic);
I have tried using only Into and also only Source, but I get the following error:
String does not contain a definition for Into and no extension method 'Into' accepting a first argument of type during could be found
If I try using Source I get the following error:
Non Invocable member TaskParameter.Source cannot be used like a method
btw_profile_pic is an Image widget, I want to load the image from url into the image widget.