简体   繁体   中英

Is RxJava support for Room the same as RxJava

There is now a RxJava support library for Room , and so I was wondering if I can remove RxJava library from my Android project, or use both together? I noticed that the Room support version has the same functionalities as RxJava (I am just using it for accessing a local database).

No, room-rxjava2 library has RxRoom which in turn depends on the components from rxjava2 library. Therefore build will fail in the case of excluding rxjava2 library from the project dependencies.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM