I got <a request on my SqlDelight Androidx Driver>...
# squarelibraries
e
I got a request on my SqlDelight Androidx Driver to implement functionality similar to
SupportSQLiteHelper.Callback
so that the
onCreated
/
onOpen
callbacks would be deferred to the first time
getWriteableDatabase
is called. Since I can't hook into that architecture with the androidx.sqlite library, would there be any issue replicating it in
SqlDriver
using
newTransaction
,
execute
, and
executeQuery
as potential invokers of the callbacks?
This seems to be working well