diff options
author | Chet Haase <chet@google.com> | 2013-03-18 14:52:37 -0700 |
---|---|---|
committer | Chet Haase <chet@google.com> | 2013-03-18 14:52:37 -0700 |
commit | a2230e18563833b9a0672067fe26a095c8847dd0 (patch) | |
tree | 177f592467c75ab787e6b7a0d99160bcd9a564fe /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 728713258ffef4df053b85e0a3488334cbcba24c (diff) |
Fix bug with transientState for listviews without stable IDs
This is the other part of a fix with transient state. A layout container
may be out of sync with its adapter during a data change. When the transient
state views are managed by their positions, and these positions may not match
between the container and the adapter, then the views will not be updated
correctly on the screen (though the underlying data will still be correct).
An earlier fix addressed the problem when the adapter has stable IDs (managing
the transient views by their IDs instead of their positions). This fix addresses
the other part of the problem, simply avoiding managing via positions during
a data change.
Issue #8254775 View.setHasTransient state has side-effects when deleting content in ListView
Change-Id: I0fe1692a1507a042180f8a14a8ef2d0c6946a061
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions