RxJava: Difference between revisions

From bibbleWiki
Jump to navigation Jump to search
Created page with "=Introduction="
 
Line 1: Line 1:
=Introduction=
=Introduction=
These are notes on RxJava which I have used with Android/Kotlin. To use with Android at the time you specify the following
<syntaxhighlight lang="gradle">
    implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
    implementation 'io.reactivex.rxjava3:rxjava:3.0.13'
</syntaxhighlight>
==Completable==
Because we are using java we have 3 types of observables,
*Completables
*Singles
*Maybes
This restricts the functions we need to implement.

Revision as of 04:19, 10 February 2022

Introduction

These are notes on RxJava which I have used with Android/Kotlin. To use with Android at the time you specify the following

    implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
    implementation 'io.reactivex.rxjava3:rxjava:3.0.13'

Completable

Because we are using java we have 3 types of observables,

  • Completables
  • Singles
  • Maybes

This restricts the functions we need to implement.