pushtorefresh / storio

Reactive API for SQLiteDatabase and ContentResolver.
Apache License 2.0
2.55k stars 182 forks source link

Use SupportSQLite instead of the framework version #907

Open inorichi opened 5 years ago

inorichi commented 5 years ago

This PR replaces the framework SQLite version with the new SupportSQLite from AndroidX.

This new implementation allows to use more SQL implementations besides the framework one, like the sqlite-android database from requery, which was requested at #662.

All tests are passing and the sample app works, but I don't know if I missed something. Readme should be updated too to reflect the changes required to use the new approach with FrameworkSQLiteOpenHelperFactory.

I guess this PR would be included in a 4.x release :smile:

nikitin-da commented 5 years ago

@artem-zinnatullin may we drop old SQLite support in v4?