Glide: StringSignature class not found

Created on 7 Dec 2017  路  5Comments  路  Source: bumptech/glide

Glide version: 4.2.0 com.github.bumptech.glide:glide:4.2.0'
Device: Lg Nexus 5 , phisical device.

I am trying to instantiate StringSignature class, but is not found.
RequestOptions options = new RequestOptions() .diskCacheStrategy(DiskCacheStrategy.NONE) .signature(new StringSignature( System.currentTimeMillis())); // StringSignature is not in glide.. Glide .with(this) .load(url) .apply(options) .apply(RequestOptions.circleCropTransform()) .into(mediaImageView);

question

Most helpful comment

Use ObjectKey instead.

All 5 comments

Use ObjectKey instead.

That worked thanks!

Great thanks for letting me know.

Thank you a lot man, you saved my life :D <3 :*

This is very misguiding since the documentation suggests using StringSignature.

Was this page helpful?
0 / 5 - 0 ratings