diff --git a/flexibleAdapter/src/main/java/eu/davidea/flexibleadapter/MainActivity.java b/flexibleAdapter/src/main/java/eu/davidea/flexibleadapter/MainActivity.java index 414c7c64..ffe8426c 100644 --- a/flexibleAdapter/src/main/java/eu/davidea/flexibleadapter/MainActivity.java +++ b/flexibleAdapter/src/main/java/eu/davidea/flexibleadapter/MainActivity.java @@ -113,6 +113,8 @@ public void onClick(View v) { public void onSaveInstanceState(Bundle outState) { Log.v(TAG, "onSaveInstanceState start!"); + mAdapter.onSaveInstanceState(outState); + if (mActivatedPosition != AdapterView.INVALID_POSITION) { //Serialize and persist the activated item position. outState.putInt(STATE_ACTIVATED_POSITION, mActivatedPosition);