Skip to content

[ListView & Image] Loading 100 big images into a ListView not only crashes the app, but also crashes the os #1360

@liangfenxiaodao

Description

@liangfenxiaodao

I have a list of 100 image URLs and seeded them into the datasource of the ListView.

then I used this one for renderRow:

<Image source={{uri: imageUri}} style={styles.image} />

and it worked fine when I was scrolling the top 40~50 images, but when I scrolled to the end of the list, then the app crashed and I saw the white apple on the screen.

And there is no stacktrace in crash report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions