简体   繁体   中英

How can I fix the position of buttons in a RecylerView layout? I don't want the buttons to scroll along with the image in RecyclerView

I am using a recyclerview and I want to stop scrolling of the complete layout on scrolling left or right.

If it is not possible, is there a way to get the itemposition without a click Interface so that I can put the buttons outside recylerview? The buttons are placed in a cardview.

布局

将下面的按钮布局复制到项目布局中的xml活动中的回收器视图。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM