Example #1
0
        public void Manual_Authenticate()
        {
            var service = new PinterestService();

            var vc = service.GetAuthenticateUI(account => {
                Console.WriteLine("AUTHENTICATE RESULT = " + account);
                AppDelegate.Shared.RootViewController.DismissModalViewControllerAnimated(true);
            });

            AppDelegate.Shared.RootViewController.PresentViewController(vc, true, null);
        }
Example #2
0
        public void Manual_ShareImageTextLink()
        {
            var service = new PinterestService();

            var item = new Item {
                Text = "Hello, World",
            };

            item.Images.Add("Images/xamarin-logo.png");
            item.Links.Add(new Uri("http://xamarin.com"));

            var vc = service.GetShareUI(item, result => {
                Console.WriteLine("SHARE RESULT = " + result);
                item.Dispose();
                AppDelegate.Shared.RootViewController.DismissModalViewControllerAnimated(true);
            });

            AppDelegate.Shared.RootViewController.PresentViewController(vc, true, null);
        }
 internal PinterestBoardsEndpoint(PinterestService service)
 {
     Service = service;
 }
Example #4
0
 internal PinterestPinsEndpoint(PinterestService service)
 {
     Service = service;
 }
 internal PinterestPinsEndpoint(PinterestService service) {
     Service = service;
 }