Open
Description
Issue 1.:
This is my layout:
<LinearLayout>
<androidx.coordinatorlayout.widget.CoordinatorLayout>
<com.google.android.material.appbar.AppBarLayout>
<androidx.constraintlayout.widget.ConstraintLayout>
--- APPBARLAYOUT CONTENT ---
</androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.appbar.AppBarLayout>
<FrameLayout>
<uz.jamshid.library.IGRefreshLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_list" />
</uz.jamshid.library.IGRefreshLayout>
</FrameLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</LinearLayout>
The appbarlayout scrolls with these flags: app:layout_scrollFlags="scroll|snap|exitUntilCollapsed.
The IGRefreshLayout overrides this scroll, and instead triggers the refresh animation, without letting the appbarlayout show itself first. Scrolling a bit down, and then up again fixes this issue.
Issue 2.:
The same layout, but with the IGRefreshLayout as the top element has this same effect + when scrolling up, the views from the recyclerlayout are not recycled, and the IGRefreshLayout animation triggers again.
Metadata
Metadata
Assignees
Labels
No labels