Delete object from Realm without its invalidity

I create several objects and show them all in my interface. However, I save only part of my objects in Realm, and at some point I would like to delete some of the saved objects from Realm, but I want to continue to use them in the user interface.

However, now if I remove objects from the area and they are invalid, so no longer use it. Is there a way to remove an object from an area without invalidating it (make the object unmanageable again)?

+4
source share
2 answers

It looks like you are trying to hide objects from the user interface, but using them in the background.

  • Boolean object. , .
  • , realm Objects.
0

, " " " ". (Antonym - " " " " ). , , . (, , deleted, , deletionDate deletedAt, .) , , .

0

All Articles