Java Code Examples for com.facebook.Session#saveSession()

The following examples show how to use com.facebook.Session#saveSession() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: LoginFragment.java    From barterli_android with Apache License 2.0 4 votes vote down vote up
@Override
public void onSaveInstanceState(final Bundle outState) {
    super.onSaveInstanceState(outState);
    final Session session = Session.getActiveSession();
    Session.saveSession(session, outState);
}
 
Example 2
Source File: SessionLoginFragment.java    From FacebookNewsfeedSample-Android with Apache License 2.0 4 votes vote down vote up
@Override
public void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);
    Session session = Session.getActiveSession();
    Session.saveSession(session, outState);
}
 
Example 3
Source File: LoginUsingActivityActivity.java    From FacebookNewsfeedSample-Android with Apache License 2.0 4 votes vote down vote up
@Override
protected void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);
    Session session = Session.getActiveSession();
    Session.saveSession(session, outState);
}