Skip to content

Commit

Permalink
Merge pull request #214 from rubensousa/fix_discrete_scroller
Browse files Browse the repository at this point in the history
Fix DpadScroller resetting the scroll position
  • Loading branch information
rubensousa authored May 30, 2024
2 parents ef2a670 + 76685eb commit 81b7dba
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 81b7dba

Please sign in to comment.