RxRoom

public class RxRoom
extends Object

java.lang.Object
   ↳ androidx.room.RxRoom


Helper class to add RxJava2 support to Room.

Summary

Fields

public static final Object NOTHING

Data dispatched by the publisher created by createFlowable(RoomDatabase, String).

Public constructors

RxRoom()

This constructor is deprecated. This type should not be instantiated as it contains only static methods.

Public methods

static Flowable<Object> createFlowable(RoomDatabase database, String... tableNames)

Creates a Flowable that emits at least once and also re-emits whenever one of the observed tables is updated.

static Observable<Object> createObservable(RoomDatabase database, String... tableNames)

Creates a Observable that emits at least once and also re-emits whenever one of the observed tables is updated.

Inherited methods

Fields

NOTHING

public static final Object NOTHING

Data dispatched by the publisher created by createFlowable(RoomDatabase, String).

Public constructors

RxRoom

public RxRoom ()

This constructor is deprecated.
This type should not be instantiated as it contains only static methods.

Public methods

createFlowable