Loading core/java/android/widget/AbsListView.java +1 −1 Original line number Diff line number Diff line Loading @@ -635,7 +635,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te /** * Track if we are currently attached to a window. */ private boolean mIsAttached; boolean mIsAttached; /** * Track the item count from the last time we handled a data change. Loading core/java/android/widget/ListView.java +1 −1 Original line number Diff line number Diff line Loading @@ -2074,7 +2074,7 @@ public class ListView extends AbsListView { } private boolean commonKey(int keyCode, int count, KeyEvent event) { if (mAdapter == null) { if (mAdapter == null || !mIsAttached) { return false; } Loading Loading
core/java/android/widget/AbsListView.java +1 −1 Original line number Diff line number Diff line Loading @@ -635,7 +635,7 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te /** * Track if we are currently attached to a window. */ private boolean mIsAttached; boolean mIsAttached; /** * Track the item count from the last time we handled a data change. Loading
core/java/android/widget/ListView.java +1 −1 Original line number Diff line number Diff line Loading @@ -2074,7 +2074,7 @@ public class ListView extends AbsListView { } private boolean commonKey(int keyCode, int count, KeyEvent event) { if (mAdapter == null) { if (mAdapter == null || !mIsAttached) { return false; } Loading