相关疑难解决方法(0)

如何在水平RecyclerView中捕捉到LinearSnapHelper的特定位置?

如何在水平 RecyclerView 中捕捉到 LinearSnapHelper() 的特定位置?RecyclerView有一个函数scrolltoposition,它滚动到该位置,但没有将其保持在这个snaphelper的中心。

I am looking for something like below image. So when I set to particular position, it will keep it in center. I dont find anything related to select position for SnapHelper

i find this , but this doesn't help me. Any help would be appreciated.

在此输入图像描述

android kotlin android-recyclerview pagersnaphelper

3
推荐指数
1
解决办法
7473
查看次数