上传者: 42131628
|
上传时间: 2022-03-23 11:12:43
|
文件大小: 152KB
|
文件类型: -
快捷使用帮助:
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图片