Hi guys,
im pretty new to xamarin and api's.
was working with the example seen here https://www.dropbox.com/developers/documentation/dotnet#tutorial
so i have managed to get the UWP working.
on my Android project the app just hangs and crashes
try
{
DropboxClient dbx = new DropboxClient("TOKEN HERE");
using (dbx)
{
var list = await dbx.Files.ListFolderAsync(string.Empty); // crashes here
// show folders then files
foreach (var item in list.Entries.Where(i => i.IsFolder))
{
Console.WriteLine("D {0}/", item.Name);
}
foreach (var item in list.Entries.Where(i => i.IsFile))
{
Console.WriteLine("F{0,8} {1}", item.AsFile.Size, item.Name);
}
}
anyone have a simple working example or can assist with the above