I'm not exactly sure what I'm doing wrong here, but can you shed some light? @FabienMolinet @DanielL
public App()
{
var contentPage = new ContentPage
{
Content = new ListView
{
ItemsSource = // Set source,
ItemTemplate = new DataTemplate(typeof(CustomViewCell)),
}
};
MainPage = contentPage;
}
public class CustomViewCell : ViewCell
{
public CustomViewCell()
{
var cachedImage = new CachedImage();
cachedImage.SetBinding(CachedImage.SourceProperty, "Source");
View = cachedImage;
}
}
I have initialized FFImageLoading
in MainActivity.cs
When the page loads, only one row displays an image. All other rows currently on the screen lack their image. If I scroll slowly, images will begin to load for the new rows. If I scroll fast, some rows will have their images while others won't. I'm using version 2.0.5. All of my images are embedded resource files and they are very small in size.