OSDN Git Service

Synchronize selected item data on-demand after data set invalidation
authorAlan Viverette <alanv@google.com>
Wed, 3 Jun 2015 22:19:13 +0000 (15:19 -0700)
committerAlan Viverette <alanv@google.com>
Wed, 3 Jun 2015 22:19:13 +0000 (15:19 -0700)
commitabed07f6c0186e16e1c8e8aaceaf8cf961695c66
treedf465013f577edba788a9e5ae0798c2454e714f2
parentf7aa9251d091d0e52e879a8a92bd38228e58efd9
Synchronize selected item data on-demand after data set invalidation

Previously, the selected item data could become inconsistent between a
call to Adapter.notifyDataSetChanged()/Invalidated() and the subsequent
layout pass.

Bug: 21614294
Change-Id: I45c9c98b2f6a8d8b8fb17de2065efa505cbf3c92
core/java/android/widget/AbsListView.java
core/java/android/widget/AdapterView.java