Skip to content

2.0

Compare
Choose a tag to compare
@dmdevgo dmdevgo released this 01 Feb 00:20
· 80 commits to develop since this release

Redesigned RxPM

  • Remove Outlast. PresentationModel objects are automatically retained during configuration changes like ViewModel from Android Jetpack.
  • Controls are now Presentation Models. You can create your own Сontrols.
  • Add new lifecycle states: RESUMED and PAUSED.
  • Change Command behavior, it will buffer while the PmView is paused or unbinded.
  • Add DiffStrategy for the State. By default using DiffByEquals strategy. This is suitable for primitives and simple date classes, but for collections (like List) it is better use DiffByReference or null.
  • State buffers values during pause.
  • Add CommonDelegate.
  • Add interface NavigationalPm.
  • Make bufferWhileIdle non-public API.
  • Migrate to AndroidX.
  • Improve bindTo extensions.
  • Remove predefined classes for GoogleMap. Bind GoogleMap to PM in onMapReady callback.