It breaks if you put business logic into your layo...
# android
e
It breaks if you put business logic into your layouts. You can use databinding fine if you don’t do just that
g
You can use any pattern and any approach wrong. Also it’s even easier with MVP, because you should write also code that interacts with view directly
e
Exactly. Its not the tool (databinding) itself, its just the anti-patterns that people use it for.
g
To be honest it’s quite hard to write business logic inside layout, just because you have very limited syntax and only one expression per line