I am using glide 4.3.1
I want to call signature method but does't appears.
my code
Glide.with(context).load(context.getFilesDir().getPath() + "/" + imgName).into(imgView);
I want to do this
Glide.with(context).load(context.getFilesDir().getPath() + "/" + imgName).signature(new StringSignature("someVersion")).into(imgView);
I'm using android studio, when i put mouse over signature method i see the message: Cannot resolve method 'signature(StringSignature)'.
My build gradle:
dependencies {
compile 'com.github.bumptech.glide:glide:4.3.1'
}
In glide v4 you should use ObjectKey
(for files and urls) or MediaStoreSignature
(for media content) instead of StringSignature
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With