Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image lazy loading support #18

Open
brokiem opened this issue Aug 9, 2023 · 3 comments
Open

Image lazy loading support #18

brokiem opened this issue Aug 9, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@brokiem
Copy link

brokiem commented Aug 9, 2023

Similar to web image lazy loading https://www.cloudflare.com/learning/performance/what-is-lazy-loading/

Lazy Loading Images is a set of techniques in web and application development that defer the loading of images on a page to a later point in time - when those images are actually needed, instead of loading them up front. These techniques help in improving performance, better utilization of the device’s resources, and reducing associated costs.

@SKProCH SKProCH added the enhancement New feature or request label Aug 9, 2023
@docyx
Copy link

docyx commented Oct 19, 2024

Any updates on this? I am coming from webdev and this would be a nice feature to have. I found this thread which I'm sure some of the solutions in there could be adapted to use this library

@SKProCH
Copy link
Member

SKProCH commented Oct 19, 2024

This thread actually doesn't contains any real suggestions about the web-like lazy loading. It only contains the samples of async loading and hints about virtualization, which already implemented in this library.

Currently i've still doesn't have a proper ideas how to determine, if current control is actually visible for user and how to listen to events about this. But, I will spend some time to dig deeper to this topic. If you have any suggestions - feel free to share it here.

@brokiem
Copy link
Author

brokiem commented Oct 21, 2024

I don't think it's worth implementing this. If you want to load a huge list of images, just use virtualization instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants