diff options
author | Adam Powell <adamp@google.com> | 2011-10-06 19:46:18 -0700 |
---|---|---|
committer | Adam Powell <adamp@google.com> | 2011-10-06 19:55:42 -0700 |
commit | 14c080497e427c4dd9395df5bacb28bcc4291a32 (patch) | |
tree | 9c830e6450403aca36835bd7e292017905bb197a /docs/html/sdk/api_diff/15/changes | |
parent | f270a1521c39bb6f47ebd29c1a14d9a33f14d87f (diff) |
Fix bug 5399568 - ListView check states inconsistent after data set change
ListView tracks check states in two ways, by position and by ID if an
adapter reports stable IDs. After a data set change there was no
guarantee that the position checked mapping was consistent.
Fix up the position mapping from the ID mapping after a data set
change. In the future this should happen by asking the adapter where a
given ID is now located, but this will require new API and not all
adapters in the wild will implement it. For now make a best guess by
searching in a limited window around the item's last known position.
Change-Id: I70ba89eb103c438b0410c3c6d066acc3918459f9
Diffstat (limited to 'docs/html/sdk/api_diff/15/changes')
0 files changed, 0 insertions, 0 deletions