Skip to content

Commit

Permalink
Added call to onSaveInstanceState()
Browse files Browse the repository at this point in the history
  • Loading branch information
davideas committed Jul 20, 2015
1 parent 254ee60 commit 84b9c2a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 84b9c2a

Please sign in to comment.