The meaning of @ViewInject in Android

Original address: https://zhidao.baidu.com/question/2076050702870028108.html

Dependency injection framework, in order to develop quickly, Baidu roboguice uses a lot of information, which is to use the principle of reflection to bind controls and events, saving you code such as findViewById, which is convenient to write. Advantages: Fast development speed, Disadvantages: Slightly large performance consumption. Google does not officially recommend it.


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325716159&siteId=291194637