2.0
Redesigned RxPM
- Remove Outlast.
PresentationModel
objects are automatically retained during configuration changes likeViewModel
from Android Jetpack. - Controls are now Presentation Models. You can create your own Сontrols.
- Add new lifecycle states:
RESUMED
andPAUSED
. - Change
Command
behavior, it will buffer while thePmView
is paused or unbinded. - Add
DiffStrategy
for theState
. By default usingDiffByEquals
strategy. This is suitable for primitives and simple date classes, but for collections (likeList
) it is better useDiffByReference
ornull
. 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 inonMapReady
callback.