https://kotlinlang.org logo
#android
Title
# android
n

nwh

01/21/2019, 12:05 AM
What is everyone's database layer of choice for Android? (such as Room)
a

Allan Wang

01/21/2019, 12:06 AM
I use dbflow, though I’m not on 5.0.0. Coroutine support was added in the alpha builds https://github.com/agrosner/DBFlow
🎉 2
n

nwh

01/21/2019, 12:14 AM
That looks nice. Does it generate a DSL? It seems like it does
a

Allan Wang

01/21/2019, 12:15 AM
l

louiscad

01/21/2019, 1:22 AM
I'd say SQLDelight because you write the SQL, and all the Kotlin multiplatform code is generated for you.
😍 1
I will likely use it for new projects and move to it, but for now, I'm using Room FYI, and a recent version added
suspend
functions support in DAOs, which is nice.
a

Allan Wang

01/21/2019, 1:31 AM
SQLDelight sounds really nice, especially if it’s multiplatform
b

BMG

01/21/2019, 7:18 AM
We use Couchbase Lite for running continuous replication of data with cloud.
m

Murtaza Hussain

01/21/2019, 7:48 AM
Realm is good, but if you are looking for SQL wrapper in Android then Room is good
s

Samira

01/21/2019, 7:58 AM
Room