summaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorClyhtsuriva <aimeric@adjutor.xyz>2021-02-20 16:43:50 +0100
committerClyhtsuriva <aimeric@adjutor.xyz>2021-02-20 16:43:50 +0100
commit1eb274dcaaf1ee5f79505da935afcd89856e21fd (patch)
tree8a15beb7ae2107a14da4d8a12bf8daf56c203f63 /app/build.gradle
parent893c9110c99cff286011e3d35acb39ba65a97476 (diff)
Implementation of Glide.
Replace the current way by Glide for more stability. Also allows to keep the images with sharedpreferences.
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 4a23638..4dd9f20 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -48,8 +48,8 @@ dependencies {
//Recycleview
implementation "androidx.recyclerview:recyclerview:1.1.0"
//Retrofit
- implementation 'com.squareup.retrofit2:retrofit:2.6.0'
- implementation 'com.squareup.retrofit2:converter-gson:2.6.0'
+ implementation 'com.squareup.retrofit2:retrofit:2.9.0'
+ implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
// Required for local unit tests (JUnit 4 framework)
testImplementation 'junit:junit:4.13.2'
@@ -58,5 +58,8 @@ dependencies {
androidTestImplementation 'com.android.support:support-annotations:28.0.0'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
+ //to display images
+ implementation 'com.github.bumptech.glide:glide:4.12.0'
+ annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
} \ No newline at end of file