use of com.amaze.filemanager.utils.OnFileFound in project AmazeFileManager by TeamAmaze.
the class CloudUtil method listFiles.
/**
* @deprecated use getCloudFiles()
*/
public static ArrayList<HybridFileParcelable> listFiles(String path, CloudStorage cloudStorage, OpenMode openMode) throws CloudPluginException {
final ArrayList<HybridFileParcelable> baseFiles = new ArrayList<>();
getCloudFiles(path, cloudStorage, openMode, new OnFileFound() {
@Override
public void onFileFound(HybridFileParcelable file) {
baseFiles.add(file);
}
});
return baseFiles;
}
Aggregations