Android中@ViewInject的意思

原文地址:https://zhidao.baidu.com/question/2076050702870028108.html

依赖注入框架, 为了快速开发,百度 roboguice的用法,资料很多,就是利用反射原理将控件和事件绑定,节省你诸如 findViewById 这样的代码,写起来方便 。 优点: 开发速度快, 缺点: 对性能消耗略大。google官方不甚推荐。


猜你喜欢

转载自blog.csdn.net/qq_34561253/article/details/79339451