Open confile opened 9 years ago
@christiangoudreau Could you please comment on this issue.
This is the normal behaviour, you should implement parent presenters as A containing B (empty) and C (with your stuff)
I'm keeping open this issue in case we find a solution once we rework the algorithm behind the scene for GWTP 2.0
Note: I know that the SLOT notation changes but I keep the old and I assume the problem still exists.
Assume you have:
PresenterA
is a root presenter. Which is the first presenter you will reveal. Now you create a second presenter:After you revealed
PresenterA
you navigate toPresenterB
. So the view of PresenterA reveals the view of PresenterB.Now, when you want to make:
of
There will be no navigation. The reason is that PresenterA which is requested is still revealed. So nothing happens.
The correct thing which should happen is
removeFromSlot
with the view of PresenterB should be called on PresenterA's view.