Closed SmasSive closed 6 years ago
Thanks for your contribution, I'll check it later.
And could you please rebase to the latest master branch? Thanks!
@Piasy I've done the changes you requested 👍
@SmasSive Could you please also add description about how to implement custom image request url and more customization, by utilizing classes added by this PR, into the README?
@Piasy done! I'm not Shakespeare so... Feel free to modify the README as you want!
v1.5.2 is published, check it out! Thanks for your contribution!
GREAT! A pleasure!
Hey @Piasy ! Looks like the module GlideImageViewFactory
is not well published: http://dl.bintray.com/piasy/maven/com/github/piasy/GlideImageViewFactory/1.5.2/
It's strange that bintray didn't publish it automatically, I've published it manually, please try again.
Ok, now it's working! Thanks!
This PR adds a new kind of
GlideImageLoader
class calledGlideCustomImageLoader
which allow the consumer of the lib to specify a concreteGlideModule
associated with a previously registered glide component. That way, the lib is able to load resources as the client specifies, in the example added we request an specific image size by appending two parameters at the end of url.Regarding implementation, I've opted to make a new class instead of adding code to the original one (that was my first approach) and messing the code, hope it's the less invasive as possible.