hey guys! whats the general approach when using ViewModel stuff regarding things like input fields?
I have a very basic Login Activity, that needs to do some networking. currently, my viewModel has a login function that takes the credentials from the Activity class. Would it be better practice to have the Activity update a ViewModel field for each of the input fields and have the login function use these instead of arguments coming directly from the activity?