我正在尝试使用Parse查询获取Object.
这是我的代码:
ParseQuery<ParseObject> query = ParseQuery.getQuery("Conference");
query.findInBackground(new FindCallback<ParseObject>() {
public void done(List<ParseObject> results, ParseException e) {
if (e == null) {
// Results were successfully found from the local datastore.
} else {
showLog(e.toString());
}
}
});
Run Code Online (Sandbox Code Playgroud)
我收到此错误:
com.parse.ParseException:java.lang.IllegalStateException:ParseObject没有'objectId'的数据.调用fetchIfNeeded()来获取数据.
BTW我的Conference班级包含指针.