bumptech / bumptech/glide

how fix glide 3.8 GlideModule do not work.

Open
#5,397 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
35k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

this is to easy code. but it do not work. i am crazy

public class MYGlideModule implements GlideModule {

@Override
public void applyOptions(Context context, GlideBuilder builder) {
Log.e("-------", "applyOptions 设置");
builder.setDecodeFormat(DecodeFormat.PREFER_ARGB_8888);
}

@Override
public void registerComponents(Context context, Glide glide) {
Log.e("-------", "registerComponents 设置");
}
}

in AndroidManifest.xml






wow, it do not work. do not load MYGlideModule. how to fixed?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.