Skip to content

rockerhieu/rxjava-example

Repository files navigation

Example on how to use RxJava to load data from multiple data sources: https://goo.gl/4ow84A

Setup

Install nodejs

Using HomeBrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

brew update
brew doctor
export PATH="/usr/local/bin:$PATH"
brew install node

Using installer

Download & run the installer from https://nodejs.org/en/download/

Install json-server

npm install -g json-server

Run fake API server

json-server --watch mockserver/users.json

Update AndroidApplication

Update your local IP address into AndroidApplication#API_HOST.

Deploy and run example

./gradlew installDebug

demo

About

Loading mutliple data sources using RxJava

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages