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
As it is said in the title, I want to pop all controllers from a child router in one go. What I am doing now is calling popToRoot(), setPopsLastView(true) and popCurrentController(). But this means the root controller calls onCreateView() right before I pop it and also the changehandler of the root controller is called. It's not visually appealing.
So I want a method that pops ALL controllers from a child router in one single step. Is this possible?
The text was updated successfully, but these errors were encountered:
The only solution I know of, is to do something like the RouterPagerAdapter does, or as I do in my BottomNavigationController (#316) and call removeChildRouter(childRouter) to destroy the childRouter, and then recreate it.
Otherwise, depending on what exactly you're trying to achieve, setting a new backstack all together may be good enough for you.
As it is said in the title, I want to pop all controllers from a child router in one go. What I am doing now is calling popToRoot(), setPopsLastView(true) and popCurrentController(). But this means the root controller calls onCreateView() right before I pop it and also the changehandler of the root controller is called. It's not visually appealing.
So I want a method that pops ALL controllers from a child router in one single step. Is this possible?
The text was updated successfully, but these errors were encountered: