https://github.com/vivekkuvadiya/lazy-image-loading
Created Lazy image loading library using caching (in memory cache and disk cache) and used OkHttp for downloading image bytes.
https://github.com/vivekkuvadiya/lazy-image-loading
android android-library caching imageloader-lib imageloading kotlin kotlin-android kotlin-library lazyload-images okhttp
Last synced: 29 days ago
JSON representation
Created Lazy image loading library using caching (in memory cache and disk cache) and used OkHttp for downloading image bytes.
- Host: GitHub
- URL: https://github.com/vivekkuvadiya/lazy-image-loading
- Owner: vivekkuvadiya
- Created: 2023-04-02T09:37:40.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-04-02T10:26:48.000Z (about 3 years ago)
- Last Synced: 2025-07-21T16:46:08.748Z (11 months ago)
- Topics: android, android-library, caching, imageloader-lib, imageloading, kotlin, kotlin-android, kotlin-library, lazyload-images, okhttp
- Language: Kotlin
- Homepage:
- Size: 111 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
https://user-images.githubusercontent.com/65214194/229347207-f7936d72-deea-4f2e-a983-8a17feef5395.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)
```