could give simple use case example why use copytorealm()
instead of createobject()
?
it not clear me why , when use copytorealm()
if there createobject()
.
in example here seem pretty same https://realm.io/docs/java/latest/ .
copytorealm()
takes unmanaged object , connects realm, while createobject()
creates object directly in realm.
for example useful when copy objects generated gson - returned rest api realm.
Comments
Post a Comment