I would like to keep a memorandum about the following error handling methods encountered in Android development.
error
The Realm is already in a write transaction in
First, it will be GitHub that I referred to this time. Please refer to it for more accurate information. https://github.com/realm/realm-java/issues/3753
realm.cancelTransaction ();
in the closure where realm is processed.realm.beginTransaction();
realm.cancelTransaction();
It was solved by the above measures.
We hope for your reference.