Java源码示例:com.facebook.ProfileTracker

示例1
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();
        }
    };
}
 
示例2
/**
 * Gets facebook profile tracker.
 *
 * @return the facebook profile tracker
 */
public ProfileTracker getFacebookProfileTracker() {
    return this.mProfileTracker;
}