Merge "Handle data changed during FlingRunnable."
This commit is contained in:
@@ -3774,6 +3774,10 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
|
|||||||
}
|
}
|
||||||
// Fall through
|
// Fall through
|
||||||
case TOUCH_MODE_FLING: {
|
case TOUCH_MODE_FLING: {
|
||||||
|
if (mDataChanged) {
|
||||||
|
layoutChildren();
|
||||||
|
}
|
||||||
|
|
||||||
if (mItemCount == 0 || getChildCount() == 0) {
|
if (mItemCount == 0 || getChildCount() == 0) {
|
||||||
endFling();
|
endFling();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user