Bounce Effect on RecyclerView

prom85 picture prom85 · Jul 26, 2015 · Viewed 12.3k times · Source

I want to use a bounce effect on a RecyclerView. A bounce effect whenever I overscroll the content...

Does there exist a library or example for it?

Answer

Chau Thai picture Chau Thai · Jul 4, 2016

I also couldn't find any library that supports the bounce effect for RecyclerView. Eventually I ended up implementing a new library by myself. Check out my library overscroll-bouncy-android. . It currently supports RecyclerView with LinearLayoutManager. I'm also working on ListView and ScrollView.

To use my library:

Step 1:

dependencies {
    compile 'com.chauthai.overscroll:overscroll-bouncy:0.1.0'
}

Step 2:

<com.chauthai.overscroll.RecyclerViewBouncy
    android:id="@+id/recyclerView"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"/>