RxJava3 Android Examples Save

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

Project README

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

My Personal Blog - amitshekhar.me - High-quality content to learn Android concepts.

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 :heart: by putting a :star: on this project :v:

You can connect with me on:

Read all of my blogs here.

License

   Copyright (C) 2022 Amit Shekhar

   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!

Open Source Agenda is not affiliated with "RxJava3 Android Examples" Project. README Source: amitshekhariitbhu/RxJava3-Android-Examples
Stars
289
Open Issues
0
Last Commit
1 year ago
License

Open Source Agenda Badge

Open Source Agenda Rating