Skip to content

Instantly share code, notes, and snippets.

@alhazmy13 alhazmy13/
Last active Sep 5, 2016

What would you like to do?
// Create a RealmConfiguration that saves the Realm file in the app's "files" directory.
RealmConfiguration realmConfig = new RealmConfiguration.Builder(context).build();
// Get a Realm instance for this thread
Realm realm = Realm.getDefaultInstance();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.