Skip to content

vivekkuvadiya/Lazy-Image-Loading

Repository files navigation

Lazy Image Loading Library

  • Used Disk and Memory Cache
  • Used OkHttp to Load Image
  • Created singleton pattern like glide
  • Created ImageRequest Builder to scale new feature

Video:

screen-20230402-154524.mp4

To get a Git project into your build:

Step 1. Add the JitPack repository to your build file Add it in your root build.gradle at the end of repositories:

	allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Step 2. Add the dependency

	dependencies {
	        implementation 'com.github.vivekkuvadiya:Lazy-Image-Loading:1.0.0'
	}

How to Use:

	LazyImage.get(context)
		.load(imageUrl) 
		//.setPlaceHolder(drawable)
		.into(imageView)

About

Created Lazy image loading library using caching (in memory cache and disk cache) and used OkHttp for downloading image bytes.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages