com.scwang.smartrefresh.layout.SmartRefreshLayout$LayoutParams cannot be cast to androidx.constraintlayout.widget.ConstraintLayout$LayoutParams

wmomyfyw  于 2022-11-19  发布在  Android
关注(0)|答案(1)|浏览(211)

代码如下

<androidx.constraintlayout.widget.ConstraintLayout xmlns:android=" http://schemas.android.com/apk/res/android "
xmlns:app=" http://schemas.android.com/apk/res-auto "
xmlns:tools=" http://schemas.android.com/tools "
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">

<com.scwang.smartrefresh.horizontal.SmartRefreshHorizontal
    android:id="@+id/refresh_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <androidx.recyclerview.widget.RecyclerView
        android:id="@+id/mall_rv"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

</com.scwang.smartrefresh.horizontal.SmartRefreshHorizontal>

<include
    android:id="@+id/error"
    layout="@layout/error_load" />

<include
    android:id="@+id/load"
    layout="@layout/load_drawable"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginBottom="@dimen/dimens_256px"
    app:layout_constraintBottom_toBottomOf="parent"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toTopOf="parent"
    app:layout_constraintVertical_bias="1.0" />

</androidx.constraintlayout.widget.ConstraintLayout>
群都满了,进不去啊,付费群也搜不到

3ks5zfa0

3ks5zfa01#

现在可以搜索了,如果加不了,加QQ群主当QQ

相关问题