Enables the RecyclerView to Auto scroll for indefinite time.
Pros:
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" />
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" />
In Activity or Fragment:
Simple :-)
Just call
recyclerView.startScrolling("YOUR_DRAWABLE_ARRAY")
Apps using InfiniteScrollRecyclerView
Google play store link: https://play.google.com/store/apps/details?id=com.frontierwallet