Visit GitHub RepoORM



RxJava bindings for DBFlow models, and query language


Add the JitPack repository to your root build file

buildscript {
    repositories {
    dependencies {
        classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'

allprojects {
    repositories {
        maven { url "https://jitpack.io" }

For RxJava1 add the dependencies:

dependencies {
    apt 'com.github.Raizlabs.DBFlow:dbflow-processor:4.0.0-beta7'
    compile 'com.github.Raizlabs.DBFlow:dbflow-core:4.0.0-beta7'
    compile 'com.github.Raizlabs.DBFlow:dbflow:4.0.0-beta7'
    compile 'com.github.roadhouse-dev.RxDbflow:rxdbflow-rx1:<Version>'

or for RxJava2 add the dependencies:

dependencies {
    apt 'com.github.Raizlabs.DBFlow:dbflow-processor:4.0.0-beta7'
    compile 'com.github.Raizlabs.DBFlow:dbflow-core:4.0.0-beta7'
    compile 'com.github.Raizlabs.DBFlow:dbflow:4.0.0-beta7'
    compile 'com.github.roadhouse-dev.RxDbflow:rxdbflow-rx2:<Version>'

At the moment only DBFlow version 4.0.0-beta7 is supported


$ git clone https://github.com/roadhouse-dev/RxDbflow.git
$ ./gradlew build

DBFlow documentation

For help with DBFlow please take a look at DBFlow GitHub


RxDBFlow now comes with it's own scheduler (DBFlowSchedulers.background()), this is a single threaded scheduler that will ensure all database operations happen from the same background thread. Using a multi-threaded scheduler like Schedulers.io() can cause deadlocks.

Sample usage

There are slight differences between rx1 and rx2

Rx1 Sample usage

View here

Rx2 Sample usage

View here

Bugs and Feedback

For RxDBFlow bugs, questions and discussions please use the GitHub Issues.

For DBFlow specific bugs, questions and discussions please use the GitHub Issues.

Pull Requests

All pull requests are welcome, however to make the whole process smoother please use the following guides

  • All pull requests should be against the develop branch
  • Code formatting should match the default Android Studio format
  • Limit code changes to the scope of what you're implementing
  • Provide standard JavaDoc for any public accessible members and classes
Join India's largest learning revolution
Free Video Tutorials
Learn Programming
Learning is a journey, let's learn together

MindOrks Newsletter
100,000+ Subscribers
A free weekly newsletter that comes with the latest Android articles, open source projects, events and hot discussions.

Subscribe Now

Featured Blogs

Our Team

MindOrks is Certainly one of the best online blog to stay on top of all the Android development news, coding and design patterns. Finally a blog I can count on to keep myself updated with latest and greatest things happening in Android world.

Vipul Shah
Android Developer