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);