RxPM
RxPM copied to clipboard
Reactive implementation of Presentation Model pattern in Android.
Hi @dmdevgo , Sorry for disturbing again but this is important. RxPm already handles CREATED, BINDED, RESUMED, PAUSED, UNBINDED, DESTROYED. But onActivityResult and onRequestPermissionsResult not supported. Function results like login...
@dmdevgo, hi! If you create state like this: `private val someAction = action { map { "something" } }` and then pass a value to its consumer in `onCreate()` `override...
Hey guys. I was trying to user single `action` as a common sink for multiple buttons: ``` Observable.just(1).bindTo(pm.someAction) Observable.just(1.0).bindTo(pm.someAction) ``` where someAction is `val someAction = action()` And I've got...
@dmdevgo let's discuss following changes: 1. rename package `base` to `view` because it contains views as per pattern. 2. move `PmStore` out of `delegate` package because it relates not only...
`PresentationModel.lifecycleObservable` won't emit the `Lifecycle.DESTROYED` if subscribed with added `untilDestroy()`. It is because of this part: ```kotlin lifecycleObservable .takeUntil { it == Lifecycle.DESTROYED } .subscribe { when (it) { ......
RxPM focuses on solving practical problems of the presentation layer. Such features as DialogControl or dispatching of navigation messages save us of many problems and boilerplate code. Processing of permissions...