Butter Knife v8.3.0发布, 一个专注于Android系统的View注入框架
jopen 8年前
<p> </p> <p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/536035535f293b8322c747b4d24a88d2.png" /></strong></p> <p>ButterKnife是一个专注于Android系统的View注入框架,让你从此从这些烦人臃肿的代码中解脱出来。同时还支持 View 的一些事件处理函数。</p> <h2>更新日志</h2> <ul> <li>New: Support for Jack compiler in application projects.</li> <li>Fix: Generate ~20% less code and ~40% less methods.</li> <li>Fix: Allow <code>@BindView</code> to reference types which are generated by other annotation processors.</li> <li>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 <code>Test</code>, the binding class will be named<code>Test_ViewBinding</code>. Calling its constructor will bind the instance passed in, and the create object is also the implementation of <code>Unbinder</code> that can be used to unbind the views. Note: The API of this generated code is subject to backwards-incompatible changes until v9.0.</li> </ul> <h2>下载</h2> <ul> <li><a href="/misc/goto?guid=4958993343541604202" rel="nofollow"><strong>Source code</strong> (zip)</a></li> <li><a href="/misc/goto?guid=4958993343646787997" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li> </ul> <p>本站原创,转载时保留以下信息:<br /> 本文转自:深度开源(open-open.com)<br /> 原文地址:<a href="http://www.open-open.com/news/view/75b09e4b">http://www.open-open.com/news/view/75b09e4b</a></p>