无法在recyclerview中滚动EasyFlipview

时间:2018-11-30 07:15:24

标签: android android-recyclerview

我在我的recyclerview中使用EasyFlipView(Github Address)库。但我无法在recyclerview中滚动easyflipview。我可以在recyclerview的空白区域中滚动。我该怎么解决?

enter image description here

 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        xmlns:app="http://schemas.android.com/apk/res-auto"
        android:id="@+id/main_activity_root"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:background="@android:color/transparent">

        <com.wajahatkarim3.easyflipview.EasyFlipView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            app:flipOnTouch="true"
            app:flipEnabled="true"
            app:flipDuration="400"
            app:flipFrom="right"
            app:flipType="horizontal"
            >

            <!-- Back Layout Goes Here -->
            <include layout="@layout/flag_flash_back"/>

            <!-- Front Layout Goes Here -->
            <include layout="@layout/flag_flash_front"/>

        </com.wajahatkarim3.easyflipview.EasyFlipView>
    </RelativeLayout>

0 个答案:

没有答案