https://kotlinlang.org logo
#realm
Title
o

oday

06/02/2018, 8:45 PM
this is the code
Copy code
override fun insertRows(rows: MutableCollection<RealmUserEntity>): Single<Unit> {
        realmDB = Realm.getDefaultInstance()
        return Single.fromCallable {
            realmDB.executeTransaction {
                realmDB.insert(rows)
            }
        }
    }