myRealm.beginTransaction(); // Create an object Country country1 = myRealm.createObject(Country.class); country1.setName("Norway"); country1.setPopulation(5165800); country1.setCode("NO"); myRealm.commitTransaction();
myRealm.beginTransaction(); // Create an object Country country1 = myRealm.createObject(Country.class); country1.setName("Norway"); country1.setPopulation(5165800); country1.setCode("NO"); myRealm.commitTransaction();