Mortar-Flow-Dagger2-demo
Mortar-Flow-Dagger2-demo copied to clipboard
subflow and drawer/toolbar
This code looks very clean! Is there a way to start a subflow inside the main flow? For example, when detect there is permission issue, start a "login" flow to sign in/sign up. Also, is there any example/suggestion to integrate navigation draw and toolbar into this?
I made one, but with Mortar/Architect and not with Mortar/Flow.
Architect is a library I made that is a replacement of Flow, you can find more about it and the motivation behind in its readme: https://github.com/lukaspili/Mortar-architect
You can then checkout the following ViewPresenter, that creates a sub-navigation: https://github.com/lukaspili/Mortar-architect/blob/master/app/src/main/java/com/mortarnav/presenter/SubnavPresenter.java
And also this project, that showcase how to use DrawerLayout with sub view presenters: https://github.com/lukaspili/Mortar-architect-map-demo