Skip to content

2.x: ResourceSubscriber & ResourceObserver #4517

@vanniktech

Description

@vanniktech

Why is ResourceSubscriber using CompositeDisposable and ResourceObserver using ListCompositeDisposable?

Also the java documentation does not seem to fit of the disposables.
/** The resource composite, can be null. */

It's initialized and made final and adding a null Disposable will throw a NullPointerException.

In addition is there a need for ResourceMaybeObserver and the alike implementation for Single & Completable?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions