HarlonWang/AVLoadingIndicatorView

Important bug avi animations inside "ViewFlipper"

abbasnaqdi opened this issue · 0 comments

Unfortunately, the animations in this library do not work in ViewFlipper.
After adding avi to ViewFlipper, I noticed that in debug mode and in run mode, avi does not work and avi does not have animation .

my code :

    <ViewFlipper
        android:id="@+id/flip_doc"
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <com.wang.avi.AVLoadingIndicatorView
            android:id="@+id/avi"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            app:indicatorColor="?colorAccent"
            app:indicatorName="LineScalePulseOutRapidIndicator" />

        <include layout="@layout/global_lay_empty" />

        <android.support.v7.widget.RecyclerView
            android:id="@+id/recyclerDoc"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical"
            app:layoutManager="android.support.v7.widget.LinearLayoutManager"
            app:stackFromEnd="true" />
    </ViewFlipper>

Please fix this problem or bug. Thanks.