frontierdotxyz / InfiniteScrollRecyclerView

Enables the RecyclerView to Auto scroll for indefinite time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InfiniteScrollRecyclerView

Pros:

  1. Simple plug and play custom RecyclerView.
  2. Easy to use
  3. 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.

Appstore-video

Usage

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