Java Code Examples for com.facebook.ProfileTracker

The following examples show how to use com.facebook.ProfileTracker. These examples are extracted from open source projects. 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 Project: AndroidBlueprints   Source File: FacebookHelper.java    License: Apache License 2.0 5 votes vote down vote up
private void initProfileTracker() {
    mProfileTracker = new ProfileTracker() {
        @Override
        protected void onCurrentProfileChanged(Profile oldProfile, Profile currentProfile) {
            //                Toast.makeText(mActivity, "Facebook current profile changed", Toast.LENGTH_SHORT)
            //                        .show();
        }
    };
}
 
Example 2
Source Project: AndroidBlueprints   Source File: FacebookHelper.java    License: Apache License 2.0 2 votes vote down vote up
/**
 * Gets facebook profile tracker.
 *
 * @return the facebook profile tracker
 */
public ProfileTracker getFacebookProfileTracker() {
    return this.mProfileTracker;
}