how do I turn it from a list<single<user>...
# rx
b
how do I turn it from a list<single<user>> into a list<user> I have this so far
Copy code
api.getUsers() //Gets a list of userlistunfiltered
                .subscribeOn(<http://Schedulers.io|Schedulers.io>())
                .flatMapIterable {
                    val item = it
                    item.map { //Turns this userlistunfiltered into items
                        api.getUserByLogin(it.login) //item now becomes userunfiltered
                                .map { it.toUser } //convert userunfiltered to a user
                    }
                }.toList()
                .observeOn(AndroidSchedulers.mainThread())
                .subscribe {
                    items: MutableList<Single<User>>?, t2: Throwable? ->
                }