1 min readMay 23, 2020
Thank you for the kind feedback Andrey Bolduzev! Kotlin Flow
has distinctUntilChanged
available as an extension function whereas StateFlow
implements distinctUntilChanged
by default. Roman Elizarov offers a great explanation in this GitHub issue regarding Flow
, StateFlow
, and SharedFlow
designs in relation to distinctUntilChanged
.