Exemplo n.º 1
0
        public DropboxItem GetFile(RequestTokenModel model, string path)
        {
            var newPath = path.Replace(">", "/"); //Temporary solution. Only for a swagger's bug

            var json = _service.GetFile(model.Token, newPath).Result;

            return(JsonConvert.DeserializeObject <DropboxItem>(json));
        }
Exemplo n.º 2
0
 private async void Button1_Click(object sender, EventArgs e)
 {
     textView      = FindViewById <TextView>(Resource.Id.textView1);
     textView.Text = await service.GetFile();
 }