【发布时间】:2015-07-03 15:24:01
【问题描述】:
我正在使用 Android Studio 并遵循 parse.com 的云代码指南:https://parse.com/docs/cloud_code_guide
在云上部署定义函数“hello”的第一个示例后,我在我的 Android 项目中运行以下代码(我在 MainActivity:onCreate 中调用代码)
ParseCloud.callFunctionInBackground("hello", new HashMap<String, Object>(), new FunctionCallback<String>() {
void done(String result, ParseException e) {
if (e == null) {
// result is "Hello world!"
}
}
});
我收到此错误:
错误:(29, 116) 错误: 不是抽象的并且不会覆盖 FunctionCallback 中的抽象方法 done(String,ParseException)
【问题讨论】: