嘿,伙计们正在尝试执行以下方法,但收到一条错误消息:
Unable to match class for part: 'Lrx/Observable;
我的方法:
public void SendNote(){
titleStr = etxtTitle.getText().toString();
// saving objects
NotesRealmClass notesRealmClass = new NotesRealmClass();
notesRealmClass.setTitle("try");
// save object asynchronously
Backendless.Persistence.save(notesRealmClass, new AsyncCallback<NotesRealmClass>() {
public void handleResponse(NotesRealmClass note) {
// new Contact instance has been saved
Toast.makeText(getActivity(), "Successfully posted ", Toast.LENGTH_SHORT).show();
}
public void handleFault(BackendlessFault fault) {
Toast.makeText(getActivity(), "" + fault.getMessage(), Toast.LENGTH_SHORT).show();
// an error has occurred, the error code can be retrieved with fault.getCode()
}
}); }
这里我试图将一个对象保存到Backendless Server 但我收到这个错误,任何人都可以解释我这个错误试图告诉我什么?我四处寻找,但还没有得到任何东西