0

皆さん、以下のメソッドを実行しようとしていますが、次のようなエラーが表示されます:

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()
}
}); }

ここでオブジェクトをバックエンドレスサーバーに保存しようとしていますが、このエラーが発生しています。このエラーが何を伝えようとしているのか、誰でも説明できますか?? 私は周りを検索しましたが、まだ何も得られませんでした

4

1 に答える 1