Skip to content

Commit

Permalink
Part 2 of handling session
Browse files Browse the repository at this point in the history
  • Loading branch information
konigsoft committed Jul 15, 2014
1 parent 23325cb commit 81a225e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Simple Facebook/src/com/sromku/simple/fb/SessionManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,30 @@ public boolean onActivityResult(Activity activity, int requestCode, int resultCo
uiLifecycleHelper.onActivityResult(requestCode, resultCode, data, mFacebookDialogCallback);
return true;
}
/*
* code to handle session login state
*/
public boolean onResume() {
uiHelper.onResume();
return true
}

public boolean onPause() {
uiHelper.onPause();
return true
}

public boolean onDestroy() {
uiHelper.onDestroy();
return true;
}
public boolean onSaveInstanceState(Bundle outState) {
uiHelper.onSaveInstanceState(outState);
return true
}
/*
*end of session management
*/

/**
* Check if we already have Active session. If such exists, then return it,
Expand Down

0 comments on commit 81a225e

Please sign in to comment.