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

tapchicoma

08/03/2018, 8:41 AM
How to achieve the same using just kotlin stdlib?
Copy code
Observable.fromIterable(someListOfSealedClassStates)
            .map { it::class }
            .distinctUntilChanged()
            .toList()
            .blockingGet()