RxJava3-Android-Examples - Learn RxJava3 for Android by Examples
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 ✌️
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!