public void loadFolders(object parameter) { googleDriveFolders = new NotifyTaskCompletion <List <File> >(DriveHelper.getFiles(_service, "trashed=false and mimeType = 'application/vnd.google-apps.folder'")); }
public async void OnNavigatedTo(NavigationContext context) { var service = DriveHelper.createDriveService("client_secret.json", false) // ERROR _googleDriveFolders = await DriveHelper.getFiles(service), "trashed=false and mimeType = 'application/vnd.google-apps.folder'"); }
public MainWindowViewModel() { _service = DriveHelper.createDriveService("client_secret.json", false); googleDriveFolders = new NotifyTaskCompletion <List <File> >(DriveHelper.getFiles(_service, "trashed=false and mimeType = 'application/vnd.google-apps.folder'")); }