public FacebookLoginController(Facebook facebook, MainView mainView)
 {
     _facebook = facebook;
     _mainView = mainView;
     _sessionDelegate = new SessionDelegate(this);
     _userDelegate = new GetUserRequestDelegate(this);
 }
 public FacebookController(Facebook facebook, FacebookLoginController loginController, MainView mainView)
 {
     _facebook = facebook;
     _mainView = mainView;
     _loginController = loginController;
     _photoDelegate = new UploadPhotoRequestDelegate(this);
     _fqlDelegate = new FqlRequestDelegate(this);
     _uploadNextDelegate = new UploadNextRequestDelegate(this);
     _queuedUploads = new Queue<QueuedUpload>();
 }
Ejemplo n.º 3
0
        // This method is invoked when the application has loaded its UI and its ready to run
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            _facebook = new FacebookSdk.Facebook(kAppId);

            mainView = new MainView(_facebook);
            controller = new UINavigationController(mainView);
            controller.SetNavigationBarHidden(true, false);
            controller.NavigationBar.TintColor = mainView.FacebookBlue;

            window.AddSubview(controller.View);
            window.MakeKeyAndVisible();

            return true;
        }
 public FacebookPicturePicker(Facebook facebook, MainView mainView)
     : base("FacebookPicturePicker", null)
 {
     _facebook = facebook;
     _mainView = mainView;
 }
 public ImagePickerDelegate(MainView controller)
 {
     _controller = controller;
 }
Ejemplo n.º 6
0
 public ReadyHandler(MainView mainView)
 {
     _mainView = mainView;
 }
Ejemplo n.º 7
0
 public ActionDel(MainView mainView, bool hasCamera)
 {
     _mainView = mainView;
     _hasCamera = hasCamera;
 }