Main file updating failed operation canceled main file
The unit Test Example shows how you can write unit tests when working with Realm.
Before you can use Realm in your app, you must initialize it. A synchronized Realm uses the Realm Object Server to transparently synchronize its contents with other devices.
But sometimes, the types aren’t available until runtime, e.g., during migrations, or when working with string-based data like CSV files. A Dynamic Realm is a variant of the conventional subclasses.
The encryption Example shows you how to work with encrypted Realms.
The rx Java Examples shows how Realm works together with Rx Java.
For a more detailed discussion about Realms, read The Realm Data Model.
Open a Realm by instantiating a new It’s sometimes useful to ship a prepared Realm file with your app—you may want to bundle some shared data with your application.
If you obtain a Realm instance from a thread associated with a Looper, the Realm instance comes with an auto-refresh feature.