Update AndroidX libraries (#6940)
This commit is contained in:
parent
b2718a9a12
commit
e1ef2a643a
|
@ -296,6 +296,11 @@ public class ImportExportPreferencesFragment extends PreferenceFragmentCompat {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static class BackupDatabase extends ActivityResultContracts.CreateDocument {
|
private static class BackupDatabase extends ActivityResultContracts.CreateDocument {
|
||||||
|
|
||||||
|
BackupDatabase() {
|
||||||
|
super("application/x-sqlite3");
|
||||||
|
}
|
||||||
|
|
||||||
@NonNull
|
@NonNull
|
||||||
@Override
|
@Override
|
||||||
public Intent createIntent(@NonNull final Context context, @NonNull final String input) {
|
public Intent createIntent(@NonNull final Context context, @NonNull final String input) {
|
||||||
|
|
|
@ -41,7 +41,7 @@ public class LiftOnScrollListener extends RecyclerView.OnScrollListener
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onScrollChange(NestedScrollView v, int scrollX, int scrollY, int oldScrollX, int oldScrollY) {
|
public void onScrollChange(@NonNull NestedScrollView v, int scrollX, int scrollY, int oldScrollX, int oldScrollY) {
|
||||||
elevate(scrollY != 0);
|
elevate(scrollY != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
10
build.gradle
10
build.gradle
|
@ -10,11 +10,11 @@ plugins {
|
||||||
|
|
||||||
project.ext {
|
project.ext {
|
||||||
// AndroidX
|
// AndroidX
|
||||||
annotationVersion = "1.2.0"
|
annotationVersion = "1.4.0"
|
||||||
appcompatVersion = "1.3.1"
|
appcompatVersion = "1.5.1"
|
||||||
coreVersion = "1.5.0"
|
coreVersion = "1.8.0"
|
||||||
fragmentVersion = "1.3.6"
|
fragmentVersion = "1.5.5"
|
||||||
mediaVersion = "1.4.3"
|
mediaVersion = "1.6.0"
|
||||||
paletteVersion = "1.0.0"
|
paletteVersion = "1.0.0"
|
||||||
preferenceVersion = "1.1.1"
|
preferenceVersion = "1.1.1"
|
||||||
recyclerViewVersion = "1.2.1"
|
recyclerViewVersion = "1.2.1"
|
||||||
|
|
|
@ -18,6 +18,6 @@ dependencies {
|
||||||
implementation "org.greenrobot:eventbus:$eventbusVersion"
|
implementation "org.greenrobot:eventbus:$eventbusVersion"
|
||||||
annotationProcessor "org.greenrobot:eventbus-annotation-processor:$eventbusVersion"
|
annotationProcessor "org.greenrobot:eventbus-annotation-processor:$eventbusVersion"
|
||||||
|
|
||||||
playApi 'androidx.mediarouter:mediarouter:1.2.5'
|
playApi 'androidx.mediarouter:mediarouter:1.3.0'
|
||||||
playApi 'com.google.android.gms:play-services-cast-framework:21.2.0'
|
playApi 'com.google.android.gms:play-services-cast-framework:21.2.0'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue