pushtorefresh / storio

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

Bamboo Storage to StorIO #890

Closed Merlinkoss closed 6 years ago

Merlinkoss commented 6 years ago

I use Bamboo storage in my project, But you impove this project to StorIO

How can i migrate?

nikitin-da commented 6 years ago

Hi, @Merlinkoss StorIO was completely rewritten since it was Bamboo storage =( There are some analogies like: bambooStorage.addListener(ABambooStorageListener) -> storIOSQLite.observeChangesOfTag("particular_change_tag") bambooStorage.addOrUpdate(yourStorableItem) -> storIOSQLite.put() bambooStorage.countOfItems(classOfStorableItems) -> storIOSQLite.get().umberOfResults() But it is totally different api, we didn't keep continuity of versioning from bamboo and all db calls must be rewritten from scratch