Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Get realm instance
fun getRealm(context: Context): Realm {
try {
} catch (e: Exception) {
val config = RealmConfiguration.Builder()
return Realm.getInstance(config)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment