public void SetupFacebook() { FacebookSdk.SdkInitialize(this.ApplicationContext); callback = CallbackManagerFactory.Create(); LoginManager.Instance.RegisterCallback(callback, this); mProfileTracker = new MyProfileTracker(); mProfileTracker.mOnProfileChanged += mProfileTracker_mOnProfileChanged; mProfileTracker.StartTracking(); }
public void SetupFacebook() { FacebookSdk.SdkInitialize (this.ApplicationContext); callback = CallbackManagerFactory.Create (); LoginManager.Instance.RegisterCallback (callback, this); mProfileTracker = new MyProfileTracker (); mProfileTracker.mOnProfileChanged += mProfileTracker_mOnProfileChanged; mProfileTracker.StartTracking (); }