Questions tagged [appglidemodule]

9 questions
20
votes
6 answers

Glide 4.10.0 : java.lang.IllegalStateException: GeneratedAppGlideModuleImpl is implemented incorrectly

I am getting error while using Glide 4.10.0 This is the error java.lang.IllegalStateException: GeneratedAppGlideModuleImpl is implemented incorrectly. If you've manually implemented this class, remove your implementation. The Annotation processor…
Mohd Naushad
  • 514
  • 4
  • 15
2
votes
2 answers

Problem previewing remote PDF in Android via Glide

I'm trying to preview (thumbnail) PDF documents that are remotely, using the Glide library from bumptech, version 4.8.0. To achieve this, following the excellent tutorial Writing a custom ModelLoader, I've written a custom ModelLoader, a custom…
djmm68
  • 76
  • 7
1
vote
1 answer

Build AppGlideModule on top of dependent libraryGlideModule

I have a question regarding building AppGlideModule. There are two libraries I would like to consume. Library A has @GlideModule public class LibraryA extends LibraryGlideModule { @Override public void registerComponents(@NonNull Context…
Sherly
  • 91
  • 4
1
vote
3 answers

Load failed for null with size [0x0] class com.bumptech.glide.load.engine.GlideException: Received null model

I'm trying to load a photo I saved on firebase, It's saved successful but it can't get the image loaded again the error is "Load failed for null with size [0x0] class com.bumptech.glide.load.engine.GlideException: Received null model" I use the…
1
vote
0 answers

How to change glide Module configuration at rumtime

I have configured AppGlideModule using @AppGlideModule and I want to change the logging level of this configuration. Ex. My debug version of the application has glide logging enable/disable options so, on the basis of user action I want to change…
Gaurav
  • 99
  • 2
  • 8
0
votes
1 answer

@GlideOption adding/extending RequestBuilder to customize listener and achieve functional approach in Java 8

Glide Version: 4.9.0 I tried to customized the RequestBuilder class, to have a customized builder, in this case I want to customize RequestBuilder#addListener function to have a @FunctionalInterface or Function0 as argument and to be functional…
mochadwi
  • 1,190
  • 9
  • 32
  • 87
0
votes
1 answer

Glide 4.X: DataFetcher - attempt to load a picture from ZIP file

I have to decrypt image and load it to ImageView by means of Glide with a constraint to do not save decrypted images on the disk. As I know Glide has an opportunity to do that with DataFetcher. As an example of a DataFetcher usage I would like do…
isabsent
  • 3,683
  • 3
  • 25
  • 46
0
votes
1 answer

GlideApp not working After Migrating to AndroidX

GlideApp not working after migrate to the AndroidX. i tried to use Kapt as the annotationProccessor, change the GlideApp 4.8.0 to 4.9.0 implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation…
user9740540
0
votes
1 answer

library module upgrade to Glide 4, where should the AppGlideModule be put in

In library module to upgrade to Glide 4.9.0. api "com.github.bumptech.glide:glide:4.9.0" api "com.github.bumptech.glide:annotations:4.9.0" annotationProcessor "com.github.bumptech.glide:compiler:4.9.0" and having a kotlin…
lannyf
  • 9,865
  • 12
  • 70
  • 152