Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

v1.4.0

Latest
Compare
Choose a tag to compare
released this 27 Feb 18:43

Agera core

  • Added resultAsList/itemAsList/resultAsList converters to Functions
  • Added asList to Result, returning a singleton list if present, or an empty list if not
  • Added nullBinder and nullReceiver singletons that does nothing to Binders/Receivers

Rvadapter sample extension

  • Added forItem to the RepositoryPresenterCompiler, creating a RepositoryPresenter for a Repository of a single item
  • Added LayoutPresenter, and a layout presenter builder, for the new RepositoryAdapter methods addItem and addLayout, allowing to add static items or layouts inside a RecyclerView controlled by a RepositoryAdapter
  • Added static stableId to the RepositoryPresenterCompiler
  • Added forCollection to the RepositoryPresenterCompiler, allowing to present a Repository of any type as a list of items, and bind to to the collection and list items individually
  • Added fine-grained events support to RepositoryPresenter

Rvdatabinding sample extension

  • Added forItem (from rvadapter)
  • Added recycle configuration to allow to send null to data binding variables when a view is recycled
  • Added static stableId to the DataBindingRepositoryPresenterCompiler
  • Added collectionId to the DataBindingRepositoryPresenterCompiler, allowing to present a Repository of any type as a list of items, and bind to to the collection and list items individually