Agera v1.4.0-alpha1 發布,一個超輕量Android庫
Agera 是Google開源基于觀察者模式的一個超輕量Android庫 , 有助于準備數據用于讓Activity或者其中的事物(例如View)這些具有生命周期的事物消耗。它介紹了一種函數式響應編程,有助于更清晰的分離when,where以及what這三個數據處理流的要素,以及用近乎自然語言這樣簡潔的表達式來描述復雜,異步的流程。
更新日志
- Updated support library to 25.2.0
- Added
resultAsList
/itemAsList
/resultAsList
converters toFunctions
- Added
asList
toResult
, returning a singleton list if present, or an empty list if not - Added
nullBinder
andnullReceiver
singletons that does nothing toBinders
/Receivers
- Added
forItem
to theRepositoryPresenterCompiler
, creating aRepositoryPresenter
for aRepository
of a single item - Added
LayoutPresenter
, and a layout presenter builder, for the newRepositoryAdapter
methodsaddItem
andaddLayout
, allowing to add static items or layouts inside aRecyclerView
controlled by aRepositoryAdapter
- Added
forItem
(from rvadapter) - Added recycle configuration to allow to send
null
to data binding variables when a view is recycled
下載
本站原創,轉載時保留以下信息:
本文轉自:深度開源(open-open.com)
原文地址:http://www.baiduhome.net/news/view/7e2f787f
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!