Skip to content

A sample to demonstrate the lazy loading and saving the downloaded image in the tmp dir

License

Notifications You must be signed in to change notification settings

InderKumarRathore/LazyLoadingSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LazyLoadingSample

A sample to demonstrate the lazy loading and saving the downloaded image in the tmp dir.

The files are downloaded from the server using lazy loading and the it saves those files to a temporary directory.

Here is the simple flow

if (image_in_memory) load image else if (image_in_storage) load image else download image from the server

After downloading image save it to disk and load it into the memory

About

A sample to demonstrate the lazy loading and saving the downloaded image in the tmp dir

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published