Join Slack
Powered by
It breaks if you put business logic into your layo...
# android
e
efemoney
08/15/2017, 10:15 AM
It breaks if you put business logic into your layouts. You can use databinding fine if you
don’t
do just that
g
gildor
08/15/2017, 10:20 AM
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
efemoney
08/15/2017, 10:21 AM
Exactly. Its not the tool (databinding) itself, its just the anti-patterns that people use it for.
g
gildor
08/15/2017, 10:48 AM
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
Open in Slack
Previous
Next