15. Dropbox
• API handles all the caching, retrying, and file change
notifications.
• Writes are local so changes are immediate. The Sync API syncs
to Dropbox behind the scenes.
16. Dropbox
• API handles all the caching, retrying, and file change
notifications.
• Writes are local so changes are immediate. The Sync API syncs
to Dropbox behind the scenes.
• Your app works great even when offline and automatically syncs
when it's back online.
25. 01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
Xamarin.Social
// 1. Create the service
var facebook = new FacebookService {
! ClientId = "<App ID from developers.facebook.com/apps>",
! RedirectUrl = new System.Uri ("<Redirect URL from
developers.facebook.com/apps>")
};
// 2. Create an item to share
var item = new Item { Text = "Xamarin.Social is the bomb.com." };
item.Links.Add (new Uri ("http://github.com/xamarin/xamarin.social"));
// 3. Present the UI on iOS
var shareController = facebook.GetShareUI (item, result => {
! // result lets you know if the user shared the item or canceled
! DismissViewController (true, null);
});
PresentViewController (shareController, true, null);