Releases: dmdevgo/RxPM
Releases · dmdevgo/RxPM
2.1.2
1.2.6
2.1.1
2.1
- Possibility to describe
State
orAction
chains in initialisation lambda block while creating it. #46 - Add
PmDialogFragment
andPmBottomSheetDialogFragment
. #42 - Fix: Bind
PmFragment
toPresentationModel
inonActivityCreated
. #47 - New feature: Form validation using DSL. #51
- Added focus state to
InputControl
. - Fix
InputControl
issue on some Samsung devices #54 - Added more convenient extensions #38
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.