Loading core/java/android/widget/AbsSpinner.java +10 −2 Original line number Diff line number Diff line Loading @@ -360,6 +360,14 @@ public abstract class AbsSpinner extends AdapterView<SpinnerAdapter> { return INVALID_POSITION; } @Override protected void dispatchRestoreInstanceState(SparseArray<Parcelable> container) { super.dispatchRestoreInstanceState(container); // Restores the selected position when Spinner gets restored, // rather than wait until the next measure/layout pass to do it. handleDataChanged(); } static class SavedState extends BaseSavedState { long selectedId; int position; Loading core/java/android/widget/AdapterView.java +0 −1 Original line number Diff line number Diff line Loading @@ -815,7 +815,6 @@ public abstract class AdapterView<T extends Adapter> extends ViewGroup { @Override protected void dispatchRestoreInstanceState(SparseArray<Parcelable> container) { dispatchThawSelfOnly(container); handleDataChanged(); } class AdapterDataSetObserver extends DataSetObserver { Loading Loading
core/java/android/widget/AbsSpinner.java +10 −2 Original line number Diff line number Diff line Loading @@ -360,6 +360,14 @@ public abstract class AbsSpinner extends AdapterView<SpinnerAdapter> { return INVALID_POSITION; } @Override protected void dispatchRestoreInstanceState(SparseArray<Parcelable> container) { super.dispatchRestoreInstanceState(container); // Restores the selected position when Spinner gets restored, // rather than wait until the next measure/layout pass to do it. handleDataChanged(); } static class SavedState extends BaseSavedState { long selectedId; int position; Loading
core/java/android/widget/AdapterView.java +0 −1 Original line number Diff line number Diff line Loading @@ -815,7 +815,6 @@ public abstract class AdapterView<T extends Adapter> extends ViewGroup { @Override protected void dispatchRestoreInstanceState(SparseArray<Parcelable> container) { dispatchThawSelfOnly(container); handleDataChanged(); } class AdapterDataSetObserver extends DataSetObserver { Loading