GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — objectbox-java/objectbox-rxjava3 at main · objectbox/objectbox-java

Expand file tree

/

objectbox-rxjava3

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

objectbox-rxjava3

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
src
src
 
 
README.md
README.md
 
 
build.gradle.kts
build.gradle.kts
 
 

README.md

Outline

RxJava 3 APIs for ObjectBox

While ObjectBox has data observers and reactive extensions built-in, this project adds RxJava 3 support.

For general object changes, you can use RxBoxStore to create an Observable.

RxQuery allows you to interact with ObjectBox Query objects using:

  • Flowable
  • Observable
  • Single

For example to get query results and subscribe to future updates (Object changes will automatically emmit new data):

Query<User> query = box.query().build();
RxQuery.observable(query).subscribe(this);

Adding the library to your project

Grab via Gradle:

implementation "io.objectbox:objectbox-rxjava3:$objectboxVersion"

Migrating from RxJava 2

If you have previously used the ObjectBox RxJava library note the following changes:

  • The location of the dependency has changed to objectbox-rxjava3 (see above).
  • The package name has changed to io.objectbox.rx3 (from io.objectbox.rx).

This should allow using both versions side-by-side while you migrate your code to RxJava 3.

Links

Data Observers and Rx Documentation

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.