Skip to content

Very poor performance in ListView #441

@TheAndroidMachine

Description

@TheAndroidMachine

I have try the CachedImage Controll in a Xamarin Form project and unfortunately I have to say the listview scroll is quite junky. It is definitely due to the images. If I remove the images from the cells there is no performance problems when scrolling.
The problem can be noted very easy by using the sample projects and modifying it to load images from the internet. The performance is especially bad if the phone has a slow internet connection (i.e. GPRS).
The good news is that it can somehow be fixed. I made the some tests with a modified version of the ImageLoader from MonoDroidToolkit (https://github.com/jamesmontemagno/MonoDroidToolkit) and (after fixing some bugs) it performs quite well. I think the performance problems are due to the way the CachedImage download of the images. Maybe you could take a look in the source code of the ImageLoader from MonoDroidToolkit and see what they do differently.

I really like the FFImageLoading project but this performance issues are keeping me from using it for production. I would appreciate if you could try fixing the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions