我想在RecyclerView
。每当我过度滚动内容时就会出现反弹效果......
是否有一个库或示例?
我也找不到任何支持 RecyclerView 弹跳效果的库。最终我自己实现了一个新的库。查看我的图书馆过度滚动弹力 android https://github.com/chthai64/overscroll-bouncy-android。 。目前它支持带有 LinearLayoutManager 的 RecyclerView。我也在研究 ListView 和 ScrollView。
要使用我的图书馆:
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"/>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)