search

Home  >  Q&A  >  body text

android - rxjava中map和flatmap 有什么区别啊

rxjava中map和flatmap 有什么区别啊

怪我咯怪我咯2769 days ago992

reply all(1)I'll reply

  • 天蓬老师

    天蓬老师2017-04-18 10:23:30

    map is to convert the emitting object into another object and emit it.
    flatMap is to convert the emitting object into another Observable, and then emit the object emitted by this Observable.

    reply
    0
  • Cancelreply