I see many articles handling two way binding with MVVM. But i want to handle this issue with single source of truth. I dont want to create multiple stateflows for this case. I have a StateFlow which has all view state inside entity. How can i provide to sync with multiple EditText values to the StateFlow ?
I have added multiple TextWatcher's to sending event to ViewModel but this way causes so boilerplate code.
I got your question and I think that you need to use viewBinding feature,
then you can bind your view I use my code as example
example
the code above will be similar to