Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Images in ListView - best practices?

$
0
0

Hello.

I have a few question about the best approach for handling images in ListView cells

1) If I have a background image that is shared in more than one cell, should I create it outside the cell and pass a reference for the image to the ViewCell? - I use an absolute layout inside the individual view cells, so the image location will be the same within each cell... which leads me to the next question
2) what if the image position is not the same in each cell?

Let's say in list I have a pictures of people and given condition that can change over time, I want to decorate some people with a different image or change the background
3) What is the best/recommended way to change an Image in a cell?

Thanks,

Erez


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>