InfiniteScrollRecyclerView

Additional

Language
Kotlin
Version
N/A
Created
Oct 28, 2021
Updated
Nov 1, 2021
Owner
Frontier (frontierdotxyz)
Contributor
chandrucrypto
1
Activity
Badge
Generate
Download
Source code

Advertising

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.

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