Skip to content

Commit

Permalink
Fix DpadScroller resetting the scroll position
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensousa committed May 30, 2024
1 parent ef2a670 commit 76685eb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class DpadScroller(
detach()
this.recyclerView = recyclerView
recyclerView.descendantFocusability = ViewGroup.FOCUS_BLOCK_DESCENDANTS
recyclerView.setLayoutWhileScrollingEnabled(true)
recyclerView.setOnKeyInterceptListener(keyListener)
}

Expand Down

0 comments on commit 76685eb

Please sign in to comment.