Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we make it use with Glide ? #1

Open
d3btech opened this issue Jun 8, 2017 · 3 comments
Open

Can we make it use with Glide ? #1

d3btech opened this issue Jun 8, 2017 · 3 comments

Comments

@d3btech
Copy link

d3btech commented Jun 8, 2017

Can we make it use with Glide ?
Can we make it cache images for offline support ?

@hnguyenworkstation
Copy link

hnguyenworkstation commented Oct 3, 2017

You can check my forked repo, I modified it to support Glide (since the owner is currently using Picasso so there won't be a pull request for that).

Attention:

You might get an error because of the collapsed between setTag() of Wiv and Glide. To prevent that, in your main app Application file (BaseApplication.java?), add this line in onCreate function:
+ ViewTarget.setTagId(R.id.glide_tag);
where glide_tags is

Let me know if you need more help.

@d3btech
Copy link
Author

d3btech commented Oct 5, 2017

@hnguyenworkstation Thanks. Did'nt understood the setTag() part ?

@hnguyenworkstation
Copy link

@debjitk Basically, Glide uses setTag() for each ImageView it loads image to, and also WiV so there will be a collusion because of that.

Repository owner deleted a comment from d3btech Oct 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants