commit | 0bdfd8728199045676f3ad6c6571e7080099716f | [log] [tgz] |
---|---|---|
author | Yigit Boyar <yboyar@google.com> | Mon Jun 30 12:14:04 2014 -0700 |
committer | Yigit Boyar <yboyar@google.com> | Mon Jun 30 13:43:53 2014 -0700 |
tree | 8bd9a3eef54a33815d7c4252c99c750b51f561f1 | |
parent | 8e4a59b54e9225b77151805dd6b8867dcd8e60a4 [diff] |
Validate layout and scroll only methods in RecyclerView If an adapter update method or LayoutManager configuration method is called during a layout or scroll; it creates very hard to detect bugs. With this change, RecyclerView, LinearLayoutManager and StaggeredGridView starts checking some of these potential mistakes. Coverage can be extended. Bug: 15615904 Change-Id: I07a4fcf59d02af09e634b4a4eff090538d051d3e