Java源码示例:com.facebook.ProfileTracker
示例1private void initProfileTracker() {
mProfileTracker = new ProfileTracker() {
@Override
protected void onCurrentProfileChanged(Profile oldProfile, Profile currentProfile) {
// Toast.makeText(mActivity, "Facebook current profile changed", Toast.LENGTH_SHORT)
// .show();
}
};
}
/**
* Gets facebook profile tracker.
*
* @return the facebook profile tracker
*/
public ProfileTracker getFacebookProfileTracker() {
return this.mProfileTracker;
}