From ce974dd2a254dc003c607315781f715fa63e23fe Mon Sep 17 00:00:00 2001 From: tibbi <tibor@kaputa.sk> Date: Mon, 31 Jan 2022 22:42:55 +0100 Subject: [PATCH] updating commons and gradle --- app/build.gradle | 2 +- .../simplemobiletools/applauncher/adapters/LaunchersAdapter.kt | 2 ++ build.gradle | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 36cc526..1359fc0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -56,7 +56,7 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:10dbd9a214' + implementation 'com.github.SimpleMobileTools:Simple-Commons:fe2610738c' implementation 'androidx.multidex:multidex:2.0.1' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' } diff --git a/app/src/main/kotlin/com/simplemobiletools/applauncher/adapters/LaunchersAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/applauncher/adapters/LaunchersAdapter.kt index 6a1855e..2021dd4 100644 --- a/app/src/main/kotlin/com/simplemobiletools/applauncher/adapters/LaunchersAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/applauncher/adapters/LaunchersAdapter.kt @@ -90,6 +90,8 @@ class LaunchersAdapter( override fun getItemKeyPosition(key: Int) = launchers.indexOfFirst { it.packageName.hashCode() == key } + override fun onActionModeCreated() {} + override fun onActionModeDestroyed() { if (isChangingOrder) { notifyDataSetChanged() diff --git a/build.gradle b/build.gradle index 9b82dbc..e26e771 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:7.0.3' + classpath 'com.android.tools.build:gradle:7.0.4' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // NOTE: Do not place your application dependencies here; they belong