Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Realm getRealm(){
- RealmConfiguration config = new RealmConfiguration.Builder()
- .schemaVersion(0)
- .deleteRealmIfMigrationNeeded()
- .build();
- return Realm.getInstance(config); //getting error at this line
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement