Pros:
- Simple plug and play custom RecyclerView.
- Easy to use
- Built on top of RecyclerView, hence it is performant as it works on the typical adapters and layout managers.
Credits:
This view is inspired from iOS App store trending animation.
In XML: (Grid)
<com.frontier.infinitescrollrecyclerview.view.InfiniteAutoScrollRecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:scrollLayoutType="grid" />
infinite-recyclerview-grid.mp4
In XML: (List)
<com.frontier.infinitescrollrecyclerview.view.InfiniteAutoScrollRecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:scrollLayoutType="list" />
infinite-recyclerview-list.mp4
In Activity or Fragment:
Simple :-)
Just call
recyclerView.startScrolling("YOUR_DRAWABLE_ARRAY")
Apps using InfiniteScrollRecyclerView
device-2021-11-01-091720.mp4
Google play store link: https://play.google.com/store/apps/details?id=com.frontierwallet