https://kotlinlang.org logo
#rx
Title
# rx
e

edwardwongtl

04/16/2018, 9:35 AM
Copy code
getAllUser()
.flatMap { userList -> 
  Observable.fromIterable(userList)
    .concatMap { user -> dao.getRepos(user.id).map { user.repoList = it; user }.toList() }
}