Agera v1.4.0-alpha1 发布,一个超轻量Android库

jopen 8年前
   <p style="text-align: center;"><strong><img alt="" src="https://simg.open-open.com/show/779c0e817eb89c4fd2b31f0dffe333bf.png" /></strong></p>    <p> </p>    <p>Agera 是Google开源基于观察者模式的一个超轻量Android库 , 有助于准备数据用于让Activity或者其中的事物(例如View)这些具有生命周期的事物消耗。它介绍了一种函数式响应编程,有助于更清晰的分离when,where以及what这三个数据处理流的要素,以及用近乎自然语言这样简洁的表达式来描述复杂,异步的流程。</p>    <h2>更新日志</h2>    <ul>     <li>Updated support library to 25.2.0</li>     <li>Added <code>resultAsList</code>/<code>itemAsList</code>/<code>resultAsList</code> converters to <code>Functions</code></li>     <li>Added <code>asList</code> to <code>Result</code>, returning a singleton list if present, or an empty list if not</li>     <li>Added <code>nullBinder</code> and <code>nullReceiver</code> singletons that does nothing to <code>Binders</code>/<code>Receivers</code></li>     <li>Added <code>forItem</code> to the <code>RepositoryPresenterCompiler</code>, creating a <code>RepositoryPresenter</code> for a<code>Repository</code> of a single item</li>     <li>Added <code>LayoutPresenter</code>, and a layout presenter builder, for the new <code>RepositoryAdapter</code> methods<code>addItem</code> and <code>addLayout</code>, allowing to add static items or layouts inside a <code>RecyclerView</code> controlled by a<code>RepositoryAdapter</code></li>     <li>Added <code>forItem</code> (from <em>rvadapter</em>)</li>     <li>Added recycle configuration to allow to send <code>null</code> to data binding variables when a view is recycled</li>    </ul>    <h2>下载</h2>    <ul>     <li><a href="/misc/goto?guid=4959002472921940207" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4959002473047076360" 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/7e2f787f">http://www.open-open.com/news/view/7e2f787f</a></p>