From 76650eeeed67a9580f588b28c6c5bbf4d3f52da7 Mon Sep 17 00:00:00 2001 From: xynngh Date: Sat, 30 Oct 2021 15:48:46 +0400 Subject: [PATCH] Update dependencies --- CHANGELOG.md | 4 ++++ app/build.gradle | 12 ++++++------ app/lint.xml | 6 ++++++ .../GenericRecyclerViewAdapter.java | 2 +- 4 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 app/lint.xml diff --git a/CHANGELOG.md b/CHANGELOG.md index 65d6456..51f94c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Partial Chinese (Simplified) translation thanks to Jane Kong ([@Myon](https://hosted.weblate.org/user/Myon/)). +### Changed + +- Updated dependencies (appcompat, recyclerview, material, work-runtime). + ## [0.5.16] - 2021-07-31 diff --git a/app/build.gradle b/app/build.gradle index b28a111..6b514b2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -26,7 +26,7 @@ android { variant.resValue "string", "app_id", variant.applicationId } lintOptions { - disable 'MissingTranslation' + lintConfig file("lint.xml") } } @@ -37,7 +37,7 @@ greendao { dependencies { def eventbus_version = '3.2.0' - implementation 'org.slf4j:slf4j-api:1.7.30' + implementation 'org.slf4j:slf4j-api:1.7.32' runtimeOnly 'com.github.tony19:logback-android:2.0.0' implementation 'org.conscrypt:conscrypt-android:2.5.2' //noinspection GradleDependency: 3.12.* is the latest version compatible with Android <5 @@ -45,13 +45,13 @@ dependencies { implementation 'com.gitlab.xynngh:LibPhoneNumberInfo:c77bdd2b69' implementation 'org.apache.commons:commons-csv:1.8' - implementation 'androidx.appcompat:appcompat:1.2.0' - implementation 'androidx.recyclerview:recyclerview:1.1.0' + implementation 'androidx.appcompat:appcompat:1.3.1' + implementation 'androidx.recyclerview:recyclerview:1.2.1' implementation 'androidx.recyclerview:recyclerview-selection:1.1.0' implementation 'androidx.paging:paging-runtime:2.1.2' - implementation 'com.google.android.material:material:1.3.0' + implementation 'com.google.android.material:material:1.4.0' implementation 'androidx.preference:preference:1.1.1' - implementation 'androidx.work:work-runtime:2.5.0' + implementation 'androidx.work:work-runtime:2.6.0' implementation 'org.greenrobot:greendao:3.3.0' implementation "org.greenrobot:eventbus:$eventbus_version" annotationProcessor "org.greenrobot:eventbus-annotation-processor:$eventbus_version" diff --git a/app/lint.xml b/app/lint.xml new file mode 100644 index 0000000..dc6178b --- /dev/null +++ b/app/lint.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/app/src/main/java/dummydomain/yetanothercallblocker/GenericRecyclerViewAdapter.java b/app/src/main/java/dummydomain/yetanothercallblocker/GenericRecyclerViewAdapter.java index 7eca724..ccbf5eb 100644 --- a/app/src/main/java/dummydomain/yetanothercallblocker/GenericRecyclerViewAdapter.java +++ b/app/src/main/java/dummydomain/yetanothercallblocker/GenericRecyclerViewAdapter.java @@ -45,7 +45,7 @@ public abstract class GenericRecyclerViewAdapter onClick(getAdapterPosition())); + itemView.setOnClickListener(v -> onClick(getBindingAdapterPosition())); } abstract void bind(T item);