#31 RxJava - Operators - What is flatMap?

preview_player
Показать описание
This video shows how to use the very popular operator in RxJava, flatMap.

You can find the source code of this video series here:

This video episode is a part of an ongoing RxJava tutorial series called RxJavaAllInOne.
👇🏾 You can find the playlist from here:

Previous Video 👇🏾
#30 RxJava - Operators - 3 ways to Zip Observables - Different than merge?

Next Video 👇🏾
#32 - RxJava - map vs flatMap

Subscribe to this YouTube channel and hit that bell icon so you don't miss any notification regarding future RxJava tutorial videos that are going to be published every Sunday.

Microphone Used: Blue Snowball ICE
Check out the review here:

If you've any queries or questions you can find me here:

Рекомендации по теме
Комментарии
Автор

Mithu - First thanks a lot for creating the video series on RxJava. Very helpful indeed.
What is the difference between map and flatMap ?
Also I think this video speed is bit fast. Till video series 22 i could catch ur speed.
Also can you pls create video on flatMapIterable ?

somu
Автор

I feel flatmap concepts are not up to mark. But kudos for helping community

rishiahluwalia
Автор

i know you have a video of map vs flat map coming up, but based on the example that you explained in this video, how is the below different? I got the exact same thing using map. so what I am not getting is when to use map vs flatmap.

Observable<String> observable = Observable.just("foo");
observable.map(str -> str.split("")).subscribe(new Consumer<String[]>() {
@Override
public void accept(String[] strings) throws Exception {
for (int i=0;i<strings.length;i++) {

}
}
});
}

karamchandanianil
Автор

Man - organize your thoughts and then present line item at a time..

kappaj