Learning RxJava 2 for Android by example

Mindorks Mindorks Community Mindorks Android Store Open Source Love License

Take the MindOrks Android Online Course and Learn RxJava

How to use RxJava 2 in Android Application

How to migrate from RxJava 1.0 to RxJava 2.0

How to use RxJava 3 in Android Application Check here

Kotlin-Coroutines-Android-Examples - Check here

This project is for :

Just Build the project and start learning RxJava by examples.

RxJava 2.0 has been completely rewritten from scratch on top of the Reactive-Streams specification. The specification itself has evolved out of RxJava 1.x and provides a common baseline for reactive systems and libraries.

Because Reactive-Streams has a different architecture, it mandates changes to some well known RxJava types.

Migration From RxJava 1.0 to RxJava 2.0

To allow having RxJava 1 and RxJava 2 side-by-side, RxJava 2 is under the maven coordinates io.reactivex.rxjava2:rxjava:2.x.y and classes are accessible below io.reactivex.

Users switching from 1.x to 2.x have to re-organize their imports, but carefully.

Using RxJava 2.0 Library in your application

Add this in your build.gradle

compile 'io.reactivex.rxjava2:rxjava:2.2.2'

If you are using RxAndroid also, then add the following

compile 'io.reactivex.rxjava2:rxandroid:2.1.0'

RxJava 2 Examples present in this sample project

Quick Look on few changes done in RxJava2 over RxJava1

RxJava1 -> RxJava2

Operators :

Highlights of the examples :

TODO

Find this project useful ? :heart:

Check out an awesome MVP architecture based project which uses RxJava2, Dagger2.

Check out an awesome Kotlin MVP architecture based project which uses RxJava2, Dagger2.

Check out an awesome library for fast and simple networking in Android.

Another awesome library for debugging databases and shared preferences.

Learn to build a ride-sharing Android app like Uber, Lyft.

Check out Mindorks awesome open source projects here

Contact - Let's become friend

License

   Copyright (C) 2016 Amit Shekhar
   Copyright (C) 2011 Android Open Source Project

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

Contributing to RxJava 2 Android Samples

Just make pull request. You are in!