快捷使用帮助:
Step 1. Add the JitPack repository to your build file
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
implementation 'com.github.WenHuayu:GlidePlaceholderDrawable:1.0.0'
}
Step 3. set placeholder
placeholder(new GlidePlaceholderDrawable(getResources(), R.drawable.placeholder)))
在项目中使用到了Glide图片
2022-03-23 11:12:43
152KB
Java
1