Both of my colleague and I have experience in MVVM of Web App, while we are new to native android development. Now we have contrary opinions about android data-binding -- I'm a fan of it while he is not.
- Reduces boilerplate code which in turns brings
- Less coupling
- Stronger readability
- Powerful, easy to implement custom attribute and custom view
- Even faster than findViewById (details)
- The auto-generated .class increases app size.
- Harder to debug
I've made some investigation but there are not many discussions about it. Now I want to collect the pros and cons of android data-binding.
Aspects of discussion include but are not limited to:
- unit test
- app size
- learning curve