简体   繁体   中英

Image binding with Xamarin.forms

Coming from Android I'm used to using picasso to handle image binding to my adapter, so my question is in xamarin.forms what class or package can I use to implement similar feature. What I want to basically achieve is this. I'm binding a list template which has an image element to a collection of objects(Food items). Each object has a url link to an image. So when populating the view, the image element should be able to read the url and update the image with the image gotten. Picasso handles this normally with Android using Android studio.

This article should contain what you want to do: https://developer.xamarin.com/guides/xamarin-forms/working-with/images/

I guess you want to achieve something like this: FromUri - Requires a Uri object, eg. new Uri("http://server.com/image.jpg")

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM