Improve the scroll angle when 2 recyclers views are nested : a recycler view that contains other recycler views, just like the Play Store.
This piece of code aims to improve the scroll angle when 2 recyclers views are nested : a recycler view that contains other recycler views, just like the Play Store.
The objective is to change the scroll angle in the Parent Recycler View and override the onInterceptTouchEvent method. When this method return false
, the parent recycler view will not get the touch event. Instead, the
event will be dispatched to the underlying child view (another recycler view)
The classic implementation seems to be less than 45° to allow an horizontal scroll.
In the example bellow, angle is customized up to 70 degrees.