Populate Treeview with a specific folder content ?

Please note that the OneDrive API expects a folder ID instead of a name or path.
You can use the same technique as with Google Drive by using the search function to find out a Folder's ID.


Example:
  xSky := TSkyDriveItem.Create(nil);
  TMSFMXCloudSkyDrive1.SearchList(xAppNamePublic, True, nil);
  if TMSFMXCloudSkyDrive1.Drive.Count > 0 then
    xSky := TSkyDriveItem(TMSFMXCloudSkyDrive1.Drive.Items[0]);
  TMSFMXCloudTreeViewAdapter1.Folder := xSky;

  TMSFMXCloudTreeViewAdapter1.InitMethod := TCloudAdapterInitMethod.cmFolder;
  TMSFMXCloudTreeViewAdapter1.CloudStorage := Storage;
  TMSFMXCloudTreeViewAdapter1.InitFolder(TMSFMXCloudTreeViewAdapter1.Folder);