control fling speed for recycler view

后端 未结 5 519
野的像风
野的像风 2021-02-07 18:02

I have a RecyclerView in which i have an image ,a few TextViews and 2 ImageButtons. I have 7-8 such rows to display in my Activity

5条回答
  •  醉梦人生
    2021-02-07 18:39

    to control your recycler view's scroll speed See this SO post: Snappy scrolling in RecyclerView

    Basically you could override recyclerviews smoothScroll, or implement your own onGestureListener and attach it to the recyclerView

提交回复
热议问题