Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/kotlin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
android recyclerview LayoutImation在库存中不起作用android_Android_Kotlin_Android Recyclerview_Layout Animation - Fatal编程技术网

android recyclerview LayoutImation在库存中不起作用android

android recyclerview LayoutImation在库存中不起作用android,android,kotlin,android-recyclerview,layout-animation,Android,Kotlin,Android Recyclerview,Layout Animation,android:LayoutImation在库存android手机中不起作用 <androidx.recyclerview.widget.RecyclerView android:id="@+id/communityUnitsRV" android:layout_width="0dp" android:layout_height="wrap_content" android:la

android:LayoutImation在库存android手机中不起作用

        <androidx.recyclerview.widget.RecyclerView
            android:id="@+id/communityUnitsRV"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_marginStart="16dp"
            android:layout_marginLeft="16dp"
            android:layout_marginTop="8dp"
            android:layout_marginEnd="16dp"
            android:layout_marginRight="16dp"
            android:layout_marginBottom="16dp"
            android:adapter="@{adapter}"
            android:layoutAnimation="@anim/layout_animation_from_bottom"
            app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintHorizontal_bias="1.0"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@+id/view9"
            app:layout_constraintVertical_bias="1.0"
            tools:listitem="@layout/item_community" />


在其他手机中,它可以正常工作。在MI A3、诺基亚7.1和MI note 5 pro中进行了测试(在这一款手机中可以正常工作,其他两款手机都是android操作系统。)

检查:这是否回答了您的问题?我已经尝试了以上的解决方案,但它不起作用。