Code snippet for conflict resolution of recyclerview nested sliding in Android
•
Android
When the vertical recyclerview is nested with the horizontal recyclerview, if the vertical recyclerview has the pull-down refresh function, the horizontal sliding experience of the internal horizontal recyclerview will be very poor. (the internal horizontal recyclerview can be slid only when it is purely horizontal sliding, otherwise the sliding event will affect the pull-down refresh). Add interception judgment
The above is the whole content of this article. I hope it will be helpful to your study, and I hope you can support programming tips.
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码