Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amitshekhariitbhu/rxjava3-android-examples
RxJava 3 Android Examples - Migration From RxJava 2 to RxJava 3 - How to use RxJava 3 in Android
https://github.com/amitshekhariitbhu/rxjava3-android-examples
example-project examples kotlin rx-android rxjava rxjava2 rxjava3
Last synced: 9 days ago
JSON representation
RxJava 3 Android Examples - Migration From RxJava 2 to RxJava 3 - How to use RxJava 3 in Android
- Host: GitHub
- URL: https://github.com/amitshekhariitbhu/rxjava3-android-examples
- Owner: amitshekhariitbhu
- License: apache-2.0
- Created: 2019-11-12T15:06:05.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-20T04:57:37.000Z (4 months ago)
- Last Synced: 2024-07-20T05:51:17.874Z (4 months ago)
- Topics: example-project, examples, kotlin, rx-android, rxjava, rxjava2, rxjava3
- Language: Kotlin
- Homepage: https://outcomeschool.com
- Size: 232 KB
- Stars: 287
- Watchers: 17
- Forks: 39
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# RxJava3-Android-Examples - Learn RxJava3 for Android by Examples
## [Outcome School Blog](https://outcomeschool.com/blog) - 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:
- [Twitter](https://twitter.com/amitiitbhu)
- [LinkedIn](https://www.linkedin.com/in/amit-shekhar-iitbhu)
- [GitHub](https://github.com/amitshekhariitbhu)
- [Facebook](https://www.facebook.com/amit.shekhar.iitbhu)[**Read all of our blogs here.**](https://outcomeschool.com/blog)
### License
```
Copyright (C) 2024 Amit ShekharLicensed 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 athttp://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!