diff --git a/Simple Facebook/src/com/sromku/simple/fb/SessionManager.java b/Simple Facebook/src/com/sromku/simple/fb/SessionManager.java index f45b505..2085ba3 100644 --- a/Simple Facebook/src/com/sromku/simple/fb/SessionManager.java +++ b/Simple Facebook/src/com/sromku/simple/fb/SessionManager.java @@ -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,