Why Learn RxJava?
As a beginner using RxJava was bit tough and tricky for me but by the time RxJava made something special in android programming. Specially in using Operators and Threading!
1. Operators:
- It has powerful operators that make creating observable objects very simple.
- You can create observables out of lists, arrays, custom data objects, combine multiple observables into one... You can sort, filter, find max and min. The list goes on.
2. Threading:
- Running tasks on a background thread
- Retrieving results on the main thread
- Or visa versa. It doesn't matter. It makes threading incredibly simple. RxJava and RxAndroid is the death of AsyncTask. You'll never use it again.
Comments
Post a Comment