You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RxPm already handles CREATED, BINDED, RESUMED, PAUSED, UNBINDED, DESTROYED.
But onActivityResult and onRequestPermissionsResult not supported. Function results like login etc should handled in onActivityResult. And with RxPm, business logic can not be in Controller or Activity, it should be in presenter.
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 etc should handled in onActivityResult. And with RxPm, business logic can not be in Controller or Activity, it should be in presenter.
Conductor support onActivityResult is like that: (https://github.com/bluelinelabs/Conductor/blob/develop/conductor/src/main/java/com/bluelinelabs/conductor/Router.java)
Implementation is like below:
`class MainActivity : AppCompatActivity() {
private lateinit var router: Router
}`
I think it makes sense to support onActivityResult in PresentationModel according to Router.
What do you think about that?
Thanks in advance.
The text was updated successfully, but these errors were encountered: