fun fun interface InitialDataCallback
Content copied to clipboard
This interface is used to write data to a Realm file when the file is first created. It will be used in a way similar to using Realm.writeBlocking.
Note that writing data to a Realm file will involve IO, so it should generally only be done as part of opening a Realm on a background thread.
Link copied to clipboard
Creates a write transaction in which the initial data can be written with MutableRealm as a receiver.