Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing class LiveDataReactiveStreams

I am trying to use new Android Architecture Components. I'dd like to convert Rx Flowable to LiveData with LiveDataReactiveStreams but the class is missing.

Here are my dependencies:

compile "android.arch.lifecycle:runtime:1.0.0-alpha1" compile "android.arch.lifecycle:extensions:1.0.0-alpha1" kapt "android.arch.lifecycle:compiler:1.0.0-alpha1"

Any ideas?

like image 822
Sergiy Korotun Avatar asked May 22 '17 11:05

Sergiy Korotun


People also ask

What is LiveDataReactiveStreams?

LiveDataReactiveStreams offers a simple interface that allows you to convert RxJava streams to LiveData in a direct way.

What is reactive stream android?

Reactive Streams is an initiative to provide a standard for asynchronous stream processing with non-blocking back pressure. This encompasses efforts aimed at runtime environments (JVM and JavaScript) as well as network protocols.


1 Answers

You're missing this dependency:

implementation "android.arch.lifecycle:reactivestreams:1.0.0-beta2"

like image 162
PatrickNLT Avatar answered Oct 02 '22 19:10

PatrickNLT