Date post: | 15-Apr-2017 |
Category: |
Technology |
Upload: | douglas-ritter |
View: | 227 times |
Download: | 0 times |
Android Data BindingDouglas Ritter@[email protected]
Por que Data Binding?
Forma tradicional:
Com Butter Knife:
No more findViewById
Como fica:
No XML:
Como fica o XML:
Operadores, handlers…
Por exemplo…
Binding Adapters:
Talk is easy.Show me the code.github.com/dougritter/data-binding-examples
Referências:https://developer.android.com/topic/libraries/data-binding/index.html
https://realm.io/news/data-binding-android-boyar-mount/