• Stars
    star
    126
  • Rank 284,543 (Top 6 %)
  • Language
    Java
  • Created over 6 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

RxJava and RxAndroid complete beginner examples

Intro

The aim of this course is to teach fundamental concepts of RxJava and RxAndroid and take you from a novice to intermediate RxJava developer.

Head on to https://www.androidhive.info/RxJava for detailed explanation of RxJava modules.

Basics

  • Example1Activity - Basic Observable, Observer and Subscription example. Emitting list of animal names.
  • Example2Activity - Introduced Disposable to dispose the subscription.
  • Example3Activity - Introducing filter() operator to filter out the animal names starting with letter b.
  • Example4Activity - Example of chaining of operators. map() and filter() operators are used together.
  • Example5Activity - Introduced CompositeDisposable and DisposableObserver. Also custom data type Note is used in this example.

Operators

Read the Introduction to RxJava Operators to get started with RxJava operators.

  • JustOperator - Creating an Observable using just operator.
  • FromOperator - Creating an Observable using from operator.
  • RangeOperator - Creating an Observable using range operator.
  • BufferOperator - Buffer emits data into batches instead of emitting one at a time. Calculating number of taps in certain period is explained in the example.
  • DebounceOperator - Debounce operators emits items only when a specified timespan is passed. An example of taking search query is explained.
  • FilterOperator - filter allows the Observable to emit the only values those passes a test.
  • RepeatOperator - Creates an Observable that emits an item or series of items repeatedly.
  • SkipOperator - skip(n) operator skips the emission of first N items emitted by an Observable.
  • TakeOperator - take(n) takes first N emissions of an Observable.
  • DistinctOperator - Distinct operator filters out items emitted by an Observable by avoiding duplicate items in the list.
  • CountOperator - Counts number of items emitted by an Observable and emits only the count value.
  • ReduceOperator - Example of reduce operator. Applies a function to first item, takes the result and feeds back to same function on second item. This process continuous until the last emission. Once all the items are over, it emits the final result.
  • MaxOperator - Finds the maximum valued item in the Observable sequence and emits that value
  • MinOperator - Finds the minimum valued item in the Observable sequence and emits that value
  • SumOperator - Calculates the sum of all the items emitted by an Observable and emits only the Sum value.
  • AverageOperator - Calculates the average of all the items emitted by an Observable and emits only the Average value.
  • ConcatOperator - Concat operator combines output of two or more Observables into a single Observable. Maintains the order of execution.
  • MergeOperator - Merge also merges multiple Observables into a single Observable but it won’t maintain the sequential execution.
  • MapOperator - Map operator transform each item emitted by an Observable and emits the modified item.
  • FlatMapOperator - Example of FlatMap operator.
  • ConcatMapOperator - Example of ConcatMap operator.
  • SwitchMapOperator - Example of SwitchMap operator.
  • ZipOperator - Example of Zip operator.

Retrofit Networking

Android RxJava Networking with Retrofit, Gson RxJava networking using Retrofit library. An example of live Notes App is explained using Retrofit networking. Demo

Android Examples

Roadmap

  • RxBinding
  • RxJava Subjects
  • RxJava Event Bus
  • Understanding Marble Diagrams
  • Data Storage (SQLite, Room Persistence)
  • Flowable Backpressure Example
  • Hot vs Cold Observables
  • Side Effect Operators
  • Volley Networking
  • Form Validation
  • Rx Runtime Permissions
  • Timers & Intervals
  • Clean Architecture
  • MVP, MVVM Architecture
  • Complete RxJava Apps

More Repositories

1

Barcode-Reader

Android barcode reader using google vision library
Java
293
star
2

AndroidSQLite

Android SQLite example with CRUD Operations. Simple Notes app is created in this project.
Java
156
star
3

Android-Image-Picker-and-Cropping

Android choosing image from camera or gallery with Crop functionality
Java
115
star
4

Android-Font-Awesome

Android library to use the Font Awesome icons in android apps
Java
101
star
5

Android-E-Commerce-PayTM

Android e-commerce with PayTM payment gateway integration
Java
94
star
6

Android-DataBindng-RecyclerView

Android RecyclerView DataBinding example. A simple profile screen is demonstrated.
Java
78
star
7

ViewPager2-Examples

Android ViewPager2 examples
Java
77
star
8

AndroidMaterialTabs

Implementing android Tabs using support library.
Java
57
star
9

AndroidLocation

Android location updates using FusedLocationApi
Java
55
star
10

RxJavaRetrofitNotesApp

RxJava retrofit networking library with an example of Notes App
Java
50
star
11

Laravel-PayTM-Server

PayTM backend for e-commerce app
PHP
49
star
12

RoomDatabase

Android Architecture Component - Room Persistency Library example
Java
46
star
13

AndroidCamera

Android camera example using Camera 1 API
Java
36
star
14

RxJavaFlightTicket

RxJava android example demonstrating FlatMap and ConcatMap operators
Java
26
star
15

android-in-app-review-api

Android example of using Google In-App review API to rate app
Java
25
star
16

RxJavaInstantSearch

Java
24
star
17

PagingLocal

Android Architecture Component - Paging room database with local data
Java
21
star
18

LiveData

Android Architecture Component - LiveData example
Java
19
star
19

FacebookShimmer

Android adding loader screen using Facebook Shimmer library.
Java
18
star
20

ViewModel

Android Architecture Component - ViewModel example
Java
18
star
21

Android-Timber

Android Timber logging tool example
Java
10
star
22

GradientView

Android gradient background view library
Java
6
star
23

Annotations-Test

Java
2
star