Shivam Dhuria
Dec 5, 2020

--

All the input text values are MutableStateFlows which will always persist in the View Model.

isSubmitEnabled will always be calculated on those values, so it will always be able to emit the value.

If any of those values are not valid, the button will be disabled. "and" seems a logical operator for this use case.

--

--

No responses yet