commit | 492506cede17ecee39ce7fa35ee7a347ff31c5ba | [log] [tgz] |
---|---|---|
author | Dake Gu <dake@google.com> | Wed Mar 25 12:24:14 2015 -0700 |
committer | Qiwen Zhao <zhao@google.com> | Wed Mar 25 21:48:47 2015 -0700 |
tree | 778017285ca42743fa556e5e3b787dc4d429825b | |
parent | 597df6ae74efa5ef9d2690b4eb164ff0000a3913 [diff] |
GridLayoutManager: fix size change not detected When rowHeight=wrap_content, onMeasure() will measure the child's size. So when fastRelayout is run, the measured size is already new value, it should not be compared to decide wether there is a size change. Switch to use the correct view size method. Bug 18537143 Change-Id: I084e54ba45cbb1a79fe67b65d064843035d3abf4