we are just starting a new project
And both butterknife and data binding seem to be great tools for reducing template code.
We started with butterkife and added data binding later, the idea is to not have viewmodel classes in java and not express them in xml.
Is there any reason to keep butterkife?
. ButterKnife DataBinding . , ButterKnife 7.X( 8.X ). DataBinding :)
ButterKnife
DataBinding
, DataBinding - Jack&Jill, . neenbedankt-apt Retrolambda .
Jack&Jill
neenbedankt-apt
Retrolambda
TL;DR
ButterKnife.
XML. , , , . , . https://medium.com/@Miqubel/4-reasons-im-not-using-android-data-binding-e62127c2650c
Source: https://habr.com/ru/post/1664321/More articles:JAVA - Creating an acceleration hash map - javaAdvanced slicing when passing a list instead of a tuple in numpy - pythonnumpy indexing: shouldn't ellipsis be returned redundant? - pythonDisable the Add Call option from CallKit - iosExecute numpy exp function in place - python-3.xHow to remove an element from reactiveValues in brilliant? - rEXCEPTION: TypeError: cannot set property 'message' from undefined - angularApplying a list function to nested generators in itertools.groupby - pythonAngular 2.3 / Zone.js 0.7.2: Some components are broken - angularwrite tensor flow with numat array - numpyAll Articles