From 3af3f81f3c2411ccbd2b5599e7e8ae5e144b2e04 Mon Sep 17 00:00:00 2001 From: Binondi Date: Sat, 7 Jun 2025 19:50:25 +0530 Subject: [PATCH] Fixed - File loading bugs, optimized refresh using DiffUtil more efficiently --- app/build.gradle.kts | 2 +- gradle/libs.versions.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index e24beca..2e090bd 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -82,7 +82,7 @@ dependencies { implementation(libs.androidx.viewpager) implementation(libs.zoomage) implementation(libs.lottie) - implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.2.0-beta01") + implementation(libs.androidx.swiperefreshlayout) // Room dependencies implementation(libs.androidx.room.runtime) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 00d6459..46c8736 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -17,6 +17,7 @@ materialColorUtilities = "1.3.0" gridlayout = "1.1.0" photoview = "2.3.0" roomRuntime = "2.7.1" +swiperefreshlayout = "1.2.0-beta01" viewpager = "1.1.0" zoomage = "1.3.1" @@ -26,6 +27,7 @@ androidx-documentfile = { module = "androidx.documentfile:documentfile", version androidx-room-compiler = { module = "androidx.room:room-compiler", version.ref = "roomRuntime" } androidx-room-ktx = { module = "androidx.room:room-ktx", version.ref = "roomRuntime" } androidx-room-runtime = { module = "androidx.room:room-runtime", version.ref = "roomRuntime" } +androidx-swiperefreshlayout = { module = "androidx.swiperefreshlayout:swiperefreshlayout", version.ref = "swiperefreshlayout" } androidx-viewpager = { module = "androidx.viewpager:viewpager", version.ref = "viewpager" } exp4j = { module = "net.objecthunter:exp4j", version.ref = "exp4j" } glide = { module = "com.github.bumptech.glide:glide", version.ref = "glide" }