Baseflow / Baseflow/flutter_cached_network_image

Image request not being cancelled when item is disposed

Open
#666 5 comments 5 reactions 0 assignees View on GitHub
type: enhancement
Dominant language
Dart
Stars
2.6k
Forks
731
Avg merge
3d 9h
Merged PRs (30d)
1

Description

I have a ListView with, say, 400 items.
Each item has it's own Image

If I scroll past 100 items (without stopping), then come back to them, these 100 items would have their images downloaded, meaning even when the item was no longer visible, the image request was not cancelled.

There is no callback to recycle an item inside the ListView, and I know it's automatic. But does CachedNetworkImage not cancel it's request when it's been disposed?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.