Flowable

The Flowable class was introduced in the second version of the RxJava library. This class represents a stream of events, such as Flux from Reactor.

You should consider using Flowable when you read data from a file, database, or network. The following example code shows how to create and use Flowable:

Flowable.fromIterable(listOf(1, 2, 3))
.subscribe { println(it) }

This shows how to create an instance of the Flowable class that emits values.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.2.157