use of com.instructure.canvasapi2.models.UpdateFileFolder in project instructure-android by instructure.
the class FileFolderManager method updateFile.
public static void updateFile(long fileId, UpdateFileFolder updateFileFolder, final StatusCallback<FileFolder> callback) {
if (isTesting() || mTesting) {
// TODO
} else {
final RestBuilder adapter = new RestBuilder(callback);
final RestParams params = new RestParams.Builder().build();
FileFolderAPI.updateFile(fileId, updateFileFolder, adapter, callback, params);
}
}
use of com.instructure.canvasapi2.models.UpdateFileFolder in project instructure-android by instructure.
the class FileFolderManager method updateFolder.
public static void updateFolder(long folderId, UpdateFileFolder updateFileFolder, final StatusCallback<FileFolder> callback) {
if (isTesting() || mTesting) {
// TODO
} else {
final RestBuilder adapter = new RestBuilder(callback);
final RestParams params = new RestParams.Builder().build();
FileFolderAPI.updateFolder(folderId, updateFileFolder, adapter, callback, params);
}
}
Aggregations