From 1eb274dcaaf1ee5f79505da935afcd89856e21fd Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Sat, 20 Feb 2021 16:43:50 +0100 Subject: Implementation of Glide. Replace the current way by Glide for more stability. Also allows to keep the images with sharedpreferences. --- app/build.gradle | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'app/build.gradle') 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 -- cgit v1.2.3