Skip to content

Conversation

@codedsun
Copy link
Contributor

Fixed #2852 :
upgraded glide to 4.10.0

Changes: Refactor the code and replaced the old and depreciated implementations with new ones.

Screenshots of the change:

}

private MediaSignature(String path, long lastModified) {
new ObjectKey(path + lastModified);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

confused in this, what shall we do here?

app/build.gradle Outdated
annotationProcessor "com.jakewharton:butterknife-compiler:$rootProject.butterknifeVersion"
implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'com.github.bumptech.glide:glide:4.10.0'
implementation group: 'com.github.bumptech.glide', name: 'gifencoder-integration', version: '4.10.0'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verbose

Copy link
Contributor Author

@codedsun codedsun Oct 11, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

? means I have to add a variable in project-level gradle ?

@codedsun codedsun force-pushed the glide branch 2 times, most recently from 7fd50c1 to 1683631 Compare October 11, 2019 06:42
app/build.gradle Outdated
annotationProcessor "com.jakewharton:butterknife-compiler:$rootProject.butterknifeVersion"
implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation "com.github.bumptech.glide:glide:$rootProject.glideVersion"
implementation group: 'com.github.bumptech.glide', name: 'gifencoder-integration', version: "$rootProject.glideVersion"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you writing it this way?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because gifencoder class was not available in the glide dependency, I had to import that externally by mentioning the dependency and the name.

Reference
https://mvnrepository.com/artifact/com.github.bumptech.glide/gifencoder-integration/4.9.0

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, why are you writing it this way?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay updated, check!

Copy link
Contributor Author

@codedsun codedsun Oct 11, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maven suggests this way of adding dependency :P

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iamareebjamal Check and merge

@iamareebjamal iamareebjamal merged commit 22137e6 into fossasia:development Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Glide to 4.x.x

2 participants