use of ch.hsr.sa.radiotour.dataaccess.RealmModul in project app by TourLive.
the class ImportFragment method setDataToDemo.
private void setDataToDemo() throws IOException {
RealmConfiguration config = new RealmConfiguration.Builder().name(DEMOREALM).deleteRealmIfMigrationNeeded().modules(new RealmModul()).build();
RadioTourApplication.setInstance(config);
}
use of ch.hsr.sa.radiotour.dataaccess.RealmModul in project app by TourLive.
the class ImportFragment method resetDataToImport.
private void resetDataToImport() throws IOException {
RealmConfiguration config = new RealmConfiguration.Builder().name(REALREAM).deleteRealmIfMigrationNeeded().modules(new RealmModul()).build();
RadioTourApplication.setInstance(config);
}
Aggregations