@ -43,7 +43,7 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.9.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.recyclerview:recyclerview:1.3.2'
implementation 'androidx.recyclerview:recyclerview:1.3.1'
// 统一的 Kotlin 依赖
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.8.20"
@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
@ -167,7 +166,7 @@
</LinearLayout>
</HorizontalScrollView>
<!-- 商品列表区域 -->
<!-- 商品列表区域 - 新增部分 -->
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerViewProducts"