diff --git a/app/src/main/java/home/smart/fly/animations/recyclerview/fragments/BaseListFragment.kt b/app/src/main/java/home/smart/fly/animations/recyclerview/fragments/BaseListFragment.kt index 8ecefcda..d6f0b8fc 100644 --- a/app/src/main/java/home/smart/fly/animations/recyclerview/fragments/BaseListFragment.kt +++ b/app/src/main/java/home/smart/fly/animations/recyclerview/fragments/BaseListFragment.kt @@ -50,7 +50,7 @@ abstract class BaseListFragment : Fragment() { mRecyclerView = view.findViewById(R.id.recyclerview) mRecyclerView.layoutManager = getCustomLayoutManager() mRecyclerView.adapter = getCustomAdapter() - mRecyclerView.addRecyclerListener { holder -> + mRecyclerView.setRecyclerListener { holder -> Log.e("recyclerview", "itemViewType " + holder.itemViewType.toString()) Log.e("recyclerview", "itemId " + holder.itemId.toString()) Log.e("recyclerview", "adapterPosition " + holder.adapterPosition.toString()) diff --git a/build.gradle b/build.gradle index cb026969..13118965 100644 --- a/build.gradle +++ b/build.gradle @@ -1,8 +1,8 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { - id 'com.android.application' version '8.3.0' apply false - id 'com.android.library' version '8.3.0' apply false + id 'com.android.application' version '8.4.0' apply false + id 'com.android.library' version '8.4.0' apply false id 'org.jetbrains.kotlin.android' version '1.9.22' apply false id 'com.google.devtools.ksp' version '1.9.10-1.0.13' apply false } diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle index 1c6366cb..22c8fe87 100644 --- a/buildSrc/build.gradle +++ b/buildSrc/build.gradle @@ -25,15 +25,7 @@ repositories { maven { url 'https://jitpack.io' } } -// 进行上传任务的命令:./gradlew -p plugin/ clean build uploadArchives -//uploadArchives { -// repositories.mavenDeployer { -// repository(url: uri('../repo')) //仓库的路径,此处是项目根目录下的 repo 的文件夹 -// pom.groupId = 'com.engineer.plugin' //groupId ,自行定义,一般是包名 -// pom.artifactId = 'phoenix' //artifactId ,自行定义 -// pom.version = '1.0.7' //version 版本号 -// } -//} + buildscript { ext.kotlin_version = '1.9.22' @@ -43,15 +35,4 @@ buildscript { dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } -} - -//compileKotlin { -// kotlinOptions { -// jvmTarget = "17" -// } -//} -//compileTestKotlin { -// kotlinOptions { -// jvmTarget = "17" -// } -//} \ No newline at end of file +} \ No newline at end of file diff --git a/settings.gradle b/settings.gradle index 47304d39..7e6e3a86 100644 --- a/settings.gradle +++ b/settings.gradle @@ -21,5 +21,11 @@ dependencyResolutionManagement { } } } -include ':app', ':imitate', ':subs:skeleton', ':subs:dataview', ':subs:gif-revert', ':subs:game', - ':subs:cpp_native',':subs:ai' +include ':app', + ':imitate', + ':subs:skeleton', + ':subs:dataview', + ':subs:gif-revert', + ':subs:game', + ':subs:cpp_native', + ':subs:ai'