Skip to content

Commit 7f2202b

Browse files
committed
Handle data changed during FlingRunnable.
Bug: 5297171 Change-Id: I733ed978bb1d237c992f5d003b212baeac102a3d
1 parent 8a6d732 commit 7f2202b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/java/android/widget/AbsListView.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3774,6 +3774,10 @@ public void run() {
37743774
}
37753775
// Fall through
37763776
case TOUCH_MODE_FLING: {
3777+
if (mDataChanged) {
3778+
layoutChildren();
3779+
}
3780+
37773781
if (mItemCount == 0 || getChildCount() == 0) {
37783782
endFling();
37793783
return;

0 commit comments

Comments
 (0)