commit | 6f663c1a3c4d4a23bc71302add27b3d03d7d507b | [log] [tgz] |
---|---|---|
author | Adam Powell <adamp@google.com> | Mon Apr 30 16:59:02 2012 -0700 |
committer | Adam Powell <adamp@google.com> | Mon Apr 30 17:01:07 2012 -0700 |
tree | 094512861e4e3ef553553cb66f474e8bccf3de0e | |
parent | 427db9b3d10d5c203d0351e683c3cddfd270250c [diff] |
Fix a bug in ListView where touch scrolling could skip a data set change Bug 2597058 ListView's touch scrolling can query the adapter for new views. As we now flush pending touch events before running layout/draw traversals (when we normally bring ListView back in sync), this can now happen more often. Resync data before executing a scroll if a data set change is pending. Change-Id: I3e4eba4c2537911ba9cb3393ee4d9e68e46f84bb