1
現在のものを変換する際に観察可能な別の結果を待つ方法はありますか?RxJava:別の観測可能な結果を待つ
ユーザーIDのリスト(userIdsList
)があり、マップに変換する必要があります。マップキーはuserIdで表され、値はbooleanで、userIdがregUsers
を含むかどうかを示します。
return Observable
.<List<Long>>from(userIdsList)
.groupBy(id -> id, id -> regUsers.contains(id)); //PROBLEM: regUsers is Observable<List<Long>>
ああ、regユーザーが目に見える。一瞬 –