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

The problem With Custom Image control does not properly render the images when done scrolling

$
0
0

Hello
I am developing an application in Xamarin.Forms version 1.2.2.6243.

I created a control that is a ListView that contains an ItemTemplate and this contains a CustomCell whose content is an Image control.

The custom control is called Image ImageEx (ImageEx.cs), have relied on the control WebImage Xamarinproject-Forms-Labs.

The ImageEx control has the following functionality
* Try to get the image from a local location on your device, if not find it, look for the image from a URL on the web. If the image exists on the Web then copied to the device the next time the get locally. As if it were acache.
* If you cannot find the image or on the device or on the web upload a picture from a file Default Resource.

The problem I have is that the control does not properly render the images when done scrolling. It is as if the images of items not refresh. Especially when you scroll down and then scroll upward. Many of the imagesare not displayed.

I uploaded my code to GitHub https://github.com/ElAconcagua/ListViewWithImage , there is a solution in100% functional where you can see the project in detail so that you can help solve the problem of renderingimages in the ListView control.

Thank you very much


Viewing all articles
Browse latest Browse all 58056

Trending Articles