Android : RecyclerView.OnScrollListener - onScrollStateChanged (RecyclerView inside RecyclerView)

193 Views Asked by At

I am facing the issue with RecyclerView Scroll Listener.

On my screen, I have one RecyclerView with 3 items (2 horizontally scrollable and 1 vertically scrollable). Inside its adapter I am using another RecyclerView to display items in Horizontal LinearLayout and in Vertical GridLayout (Spam count 2). I am getting Scroll listener for parent RecyclerView, for Horizontal Linear Layout view which is inside Child Adapter, but not receiving scroll listener for Grid layout item.

  • Parent RecyclerView (Receiving onScroll call)
    • Horizontal Scroll Items (Receiving onScroll call)
    • Horizontal Scroll Items (Receiving onScroll call)
    • Grid Layout Items (Not receiving onScroll call)

Please help me to get out of this.

0

There are 0 best solutions below