Add spacing between items as decorations instead of margins
There are bugs in the accounting for the margins if we manipulate the view directly, causing the wrong top to be reported and the view to be shifted when we call scrollToPosition. Item decorations ensure that the layout system for the recycler view always has the right details about the spacing. Fix: 191642682 Test: verified locally Change-Id: Ie80563757079e885c8178883ab16e314d01c5b32
Loading
Please register or sign in to comment