Katarzyna
06/30/2022, 11:26 AMkotlinforandroid
06/30/2022, 11:42 AMStateFlow. One for an error message of type @StringRes, one called hasError . That way you can even observe the values in compose and re-compose if needed. And the date is updated using simple callbacks or state delegation.