Chapter 1: Observable

create()

Your just need to provide a lambda where the parameter is the emiter and call onNext or onComplete on it:

just()

Your just need to provide the element or the list of elements to emit:

fromItreable()

Your just need to provide the list of elements to emit:

More on the topic

Next chapter: Chapter 2 : Observers

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
android2ee (Seguy Mathias)

android2ee (Seguy Mathias)

Android2ee alias Mathias Seguy. Android expert gives you some news on the Android world. mathias.seguy@android2ee.com