修改上传图片逻辑

This commit is contained in:
2025-08-09 16:02:08 +08:00
parent ed7461261c
commit a8dcdf8b4b
13 changed files with 586 additions and 156 deletions

View File

@@ -152,5 +152,16 @@ public class GlideEngine {
.apply(new RequestOptions().centerCrop().error(defaultResId))
.into(imageView);
}
private static GlideEngine instance;
public static GlideEngine createGlideEngine() {
if (null == instance) {
synchronized (GlideEngine.class) {
if (null == instance) {
instance = new GlideEngine();
}
}
}
return instance;
}
}