I read the tutorial on Realm and this question arose, about writing data to the database, is there such a code, is the line User user = realm.createObject(User.class); to the fact that the data is stored in the database? or is it just the creation of an object and still need to save data separately?
Realm realm = Realm.getDefaultInstance(); realm.beginTransaction(); User user = realm.createObject(User.class); realm.cancelTransaction();