最佳答案
您只需添加属性 requiresFadingEdge,如果您想指定透明度的长度,您可以添加另一个属性 fadingEdgeLength。 祝你的项目好运。
<android.support.v7.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:requiresFadingEdge="horizontal"
android:fadingEdgeLength="20dp">
</android.support.v7.widget.RecyclerView>
关于java - 滚动时回收器查看项目淡出动画,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46985611/