Agera v1.1.0 beta1发布,一个超轻量Android库

jopen 8年前
   <p style="text-align: center;"><img alt="" src="https://simg.open-open.com/show/779c0e817eb89c4fd2b31f0dffe333bf.png" /></p>    <p>Agera 是Google开源基于观察者模式的一个超轻量Android库 , 有助于准备数据用于让Activity或者其中的事物(例如View)这些具有生命周期的事物消耗。它介绍了一种函数式响应编程,有助于更清晰的分离when,where以及what这三个数据处理流的要素,以及用近乎自然语言这样简洁的表达式来描述复杂,异步的流程。</p>    <h2>更新日志</h2>    <h3><strong>Agera core</strong></h3>    <ul>     <li>Adds sort/thenSort to <code>FunctionCompiler</code></li>     <li>Better exception message when trying to add/remove null updatable</li>     <li>Adds .ifFailed(Non)AbsentSendTo to <code>Result</code></li>     <li>Adds to bind to failures to <code>Result</code></li>     <li>Adds a <code>Function</code> that wraps a <code>Throwable</code> in a <code>Result</code></li>     <li>Improved yielding / auto back pressure for better UI performance / FPS</li>     <li>Allows for updatables to be used with different life cycles for different observables</li>     <li>Fixes a racing condition occurring when quickly adding/removing updatables to cancellable compiled repositories</li>     <li>dex method count now at 464</li>    </ul>    <h3><strong>Database sample extension</strong></h3>    <ul>     <li>Ability to set sqlite conflict algorithms</li>    </ul>    <h3><strong>Rvadapter sample extension</strong></h3>    <ul>     <li>Ability to let the <code>RepositoryAdapter</code> life cycle automatically follow the life cycle of an activity (target api 14 only)</li>     <li>Basic support to <em>compile</em> a<code>RecyclerView</code> <code>RepositoryPresenter</code>s</li>    </ul>    <h3><strong>Rvdatabinding sample extension <em>(new)</em></strong></h3>    <ul>     <li>Basic support to <em>compile</em> a <code>RecyclerView</code> <code>RepositoryPresenter</code>for use with the data binding library</li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4958991161546462836" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958991161643907249" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>