commit | 135554e628e9501eb4f0ef344d01b3a62d952641 | [log] [tgz] |
---|---|---|
author | Siyamed Sinir <siyamed@google.com> | Fri Jan 22 18:40:42 2016 -0800 |
committer | Siyamed Sinir <siyamed@google.com> | Mon Jan 25 16:01:18 2016 -0800 |
tree | fc057ab5e68ce0a504205a85f77efc2d9fc6e76d | |
parent | 6feab9fb5900afae01b290175c0f7d23a7eda423 [diff] |
AbsListView invalidates data when it isn’t changed When setItemChecked is called for AbsListView, it does not check if the value has changed or not. Then it invalidates the data by setting mDataChanged to true and also requests a layout. This CL changes the behavior and does not invalidate data or make a layout request when the old and the new values are same. Bug: 25793105 Change-Id: Id0e1f9d3ef348549a2aa88cf5ec9fe7a4b870f44