Where data binding/binder functionality should be implemented? It should be in view or view model?
Asked
Active
Viewed 42 times
1 Answers
0
The only thing you should do in the view is:
- Initiate/Layout/Present UI components.
- Bind UI components with the ViewModel.
The viewmodel is for logic, they are objects that model a GUI application, this means they provide data and functionality to be used by views. They are what define the structure and behavior of the actual application you are building.
For more information see this. There is some really useful information about what a view should do and what a viewmodel should do.

TimvZon
- 240
- 2
- 14