Butter Knife v8.3.0發布,?一個專注于Android系統的View注入框架
ButterKnife是一個專注于Android系統的View注入框架,讓你從此從這些煩人臃腫的代碼中解脫出來。同時還支持 View 的一些事件處理函數。
更新日志
- New: Support for Jack compiler in application projects.
- Fix: Generate ~20% less code and ~40% less methods.
- Fix: Allow
@BindView
to reference types which are generated by other annotation processors. - Experimental: The generated view binding class can now be used directly. This allows ProGuard shrinking, optimization, and obfuscation to work without any rules being needed. For a class
Test
, the binding class will be namedTest_ViewBinding
. Calling its constructor will bind the instance passed in, and the create object is also the implementation ofUnbinder
that can be used to unbind the views. Note: The API of this generated code is subject to backwards-incompatible changes until v9.0.
下載
本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/75b09e4b
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!