February 2018
Intermediate to advanced
350 pages
7h 35m
English
As we stated earlier, an Observable value has the following three most important events/methods:
One thing to note here is that the item in Observable that we are talking about can be anything; it is defined as Observable<T>, where T can be any class. Even an array/list can be assigned as Observable.
Let's look at the following diagram:
Here's a code example to understand it better:
fun main(args: Array<String>) { val observer ...Read now
Unlock full access