lwl49 / RxJava3-Android-Examples

RxJava 3 Android Examples - Migration From RxJava 2 to RxJava 3 - How to use RxJava 3 in Android

Home Page:https://mindorks.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RxJava3-Android-Examples - Learn RxJava3 for Android by Examples

Mindorks Mindorks Community Mindorks Android Store Open Source Love License

This project is for:

  • who is migrating to RxJava 3 from RxJava 2
  • who is just getting started with RxJava

Just Build the project and start learning RxJava 3 by examples.

RxJava 3 Operators Examples present in this sample project

  • Map -> transform the items emitted by an Observable by applying a function to each item
  • Zip -> combine the emissions of multiple Observables together via a specified function and emit single items for each combination based on the results of this function
  • Filter -> emit only those items from an Observable that pass a predicate test
  • Concat -> emit the emissions from two or more Observables without interleaving them
  • Merge -> combine multiple Observables into one by merging their emissions
  • SwitchMap -> transform the items emitted by an Observable into Observables, and mirror those items emitted by the most-recently transformed Observable
  • timer -> do something after a span of time that we specify
  • delay -> shift the emissions from an Observable forward in time by a particular amount
  • debounce -> only emit an item from an Observable if a particular timespan has passed without it emitting another item
  • distinctUntilChanged -> suppress duplicate items emitted by an Observable

If this project helps you in anyway, show your love ❤️ by putting a ⭐ on this project ✌️

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

Check out MindOrks awesome open source projects here

License

   Copyright (C) 2019 MINDORKS NEXTGEN PRIVATE LIMITED

   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 3 Android Examples

Just make pull request. You are in!

About

RxJava 3 Android Examples - Migration From RxJava 2 to RxJava 3 - How to use RxJava 3 in Android

https://mindorks.com

License:Apache License 2.0


Languages

Language:Kotlin 100.0%