mirror of
https://gitlab.com/xynngh/YetAnotherCallBlocker.git
synced 2025-02-16 11:50:39 +01:00
Update dependencies
This commit is contained in:
parent
c84999f4b0
commit
76650eeeed
@ -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/)).
|
- 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
|
## [0.5.16] - 2021-07-31
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ android {
|
|||||||
variant.resValue "string", "app_id", variant.applicationId
|
variant.resValue "string", "app_id", variant.applicationId
|
||||||
}
|
}
|
||||||
lintOptions {
|
lintOptions {
|
||||||
disable 'MissingTranslation'
|
lintConfig file("lint.xml")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ greendao {
|
|||||||
dependencies {
|
dependencies {
|
||||||
def eventbus_version = '3.2.0'
|
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'
|
runtimeOnly 'com.github.tony19:logback-android:2.0.0'
|
||||||
implementation 'org.conscrypt:conscrypt-android:2.5.2'
|
implementation 'org.conscrypt:conscrypt-android:2.5.2'
|
||||||
//noinspection GradleDependency: 3.12.* is the latest version compatible with Android <5
|
//noinspection GradleDependency: 3.12.* is the latest version compatible with Android <5
|
||||||
@ -45,13 +45,13 @@ dependencies {
|
|||||||
implementation 'com.gitlab.xynngh:LibPhoneNumberInfo:c77bdd2b69'
|
implementation 'com.gitlab.xynngh:LibPhoneNumberInfo:c77bdd2b69'
|
||||||
implementation 'org.apache.commons:commons-csv:1.8'
|
implementation 'org.apache.commons:commons-csv:1.8'
|
||||||
|
|
||||||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
implementation 'androidx.appcompat:appcompat:1.3.1'
|
||||||
implementation 'androidx.recyclerview:recyclerview:1.1.0'
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
||||||
implementation 'androidx.recyclerview:recyclerview-selection:1.1.0'
|
implementation 'androidx.recyclerview:recyclerview-selection:1.1.0'
|
||||||
implementation 'androidx.paging:paging-runtime:2.1.2'
|
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.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:greendao:3.3.0'
|
||||||
implementation "org.greenrobot:eventbus:$eventbus_version"
|
implementation "org.greenrobot:eventbus:$eventbus_version"
|
||||||
annotationProcessor "org.greenrobot:eventbus-annotation-processor:$eventbus_version"
|
annotationProcessor "org.greenrobot:eventbus-annotation-processor:$eventbus_version"
|
||||||
|
6
app/lint.xml
Normal file
6
app/lint.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<lint>
|
||||||
|
<issue id="MissingTranslation" severity="ignore" />
|
||||||
|
|
||||||
|
<issue id="UsingOnClickInXml" severity="warning" />
|
||||||
|
</lint>
|
@ -45,7 +45,7 @@ public abstract class GenericRecyclerViewAdapter<T, V extends GenericRecyclerVie
|
|||||||
public GenericViewHolder(@NonNull View itemView) {
|
public GenericViewHolder(@NonNull View itemView) {
|
||||||
super(itemView);
|
super(itemView);
|
||||||
|
|
||||||
itemView.setOnClickListener(v -> onClick(getAdapterPosition()));
|
itemView.setOnClickListener(v -> onClick(getBindingAdapterPosition()));
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract void bind(T item);
|
abstract void bind(T item);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user