Agera v1.1.0 发布,一个超轻量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>    <p><strong>Agera core</strong></p>    <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><code>Result</code> now returns <code>absent()</code> if created with <code>failure(e)</code> when <code>e</code> is the <code>absent()</code> <code>Throwable</code></li>     <li>Remove the confusing stack trace in the <code>absent()</code> and default <code>failure()</code> <code>Throwable</code>s in <code>Result</code></li>    </ul>    <p><strong>Database sample extension</strong></p>    <ul>     <li>Ability to set sqlite conflict algorithms</li>    </ul>    <p><strong>Rvadapter sample extension</strong></p>    <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>    <p><strong>Rvdatabinding sample extension <em>(new)</em></strong></p>    <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=4958991914731952527" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958991914852140482" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>