How to applied collect Method from Observable Java to Kotlin

前端 未结 0 1689
小蘑菇
小蘑菇 2021-02-08 20:28

I have the next code in Java:

Observable.just("name_one", "name_two", "name_three")
        .collect(HashSet::new, HashSet::add)
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题