Stylianos Gakis
12/12/2022, 2:02 PMStateFlow<Foo>
and had it behind a function stateFlow(): StateFlow<Foo>
but the implementation simply had the private declaration and the overridden function was simply doing return this.stateFlow
.
So I wonder, is it weird for the interface to simply expose val stateFlow: StateFlow<Foo>
instead? Are there any reasons why I would want to avoid that?Stephan Schröder
12/13/2022, 7:48 AMStylianos Gakis
12/13/2022, 8:25 AM