1 Star 0 Fork 0

licheedev/GlideExtLibs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Glide扩展库

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

// https全通
implementation 'com.licheedev:glide-okhttp3-nohttps:1.0.1'
// 加载二维码
implementation 'com.licheedev:glide-qrcode:1.0.8'


// 可能需要添加这些
implementation 'com.github.bumptech.glide:glide:4.11.0'
// java用
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
// kotlin用
kapt 'com.github.bumptech.glide:compiler:4.11.0'

// 如果项目没有添加okhttp的话,就手动手动添加
implementation 'com.squareup.okhttp3:okhttp:4.8.1'

使用

要使库生效,需要在项目中添加一个AppGlideModule

参考这里 https://muyangmin.github.io/glide-docs-cn/doc/getting-started.html#在-application-模块中的使用

import com.bumptech.glide.annotation.GlideModule;
import com.bumptech.glide.module.AppGlideModule;

@GlideModule
public final class MyAppGlideModule extends AppGlideModule {}
Glide.with(this)
    .load(QrCode.wrap("dark souls")
        .setLogo(R.mipmap.ic_launcher)
    )
    .into(imageView);

空文件

简介

Glide扩展库 展开 收起
Java
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/licheedev/GlideExtLibs.git
git@gitee.com:licheedev/GlideExtLibs.git
licheedev
GlideExtLibs
GlideExtLibs
master

搜索帮助