commit | 006eb2ce2077b3374d2e16d44b726552a5e88bf6 | [log] [tgz] |
---|---|---|
author | Yigit Boyar <yboyar@google.com> | Wed Apr 08 19:25:08 2015 -0700 |
committer | Yigit Boyar <yboyar@google.com> | Thu Apr 09 14:07:37 2015 -0700 |
tree | f44e043ff000539536b73fa0d97e19763065dc49 | |
parent | 633e5ab84010ac1f096f93ea4ef5ff6432f7544f [diff] |
Fix find first/last child logic for big views StaggeredGridLayoutManager was assuming all children all smaller than RecyclerView when finding first/last visible children. This is a bad assumption and breaks compatibility with swipe refresh layout. This CL fixes that bug and also extends unit test to cover that case. Previous tests was not calling the global method which is why the issue is missed. Bug: 19496362 Change-Id: I7fe021216af8d544318c06b80ebb51379a019102