Need help with ImageLoader?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

JohnsonZZZ
129 Stars 18 Forks 28 Commits 1 Opened issues

Description

优雅地实现Android主流图片加载框架封装,可无侵入切换框架

Services available

!
?

Need anything else?

Contributors list

# 472,481
Java
22 commits

ImageLoader

BlogLink

Step 1. 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.mhlistener:ImageLoader:'
}
Step 3. Usage
//you can set custom loader in your application usually.
ImageLoader.getInstance().setGlobalImageLoader(new PicassoLoader());

//how to use ImageLoader.getInstance() .load(url) .angle(80) .resize(400, 600) .centerCrop() .config(Bitmap.Config.RGB_565) .placeholder(R.mipmap.test) .error(R.mipmap.test) .skipLocalCache(true) .into(imageView);

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.