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
Presenter#takeView performs a registration that cannot be undone. If a long lived scope needs to have some presenters that come and go, it really can't.
I think that MortarScope#register needs to return a Registration or Subscription object with a void unsubsribe() method. And I think that Presenter needs a void stop() method that makes it undo the registration it sets up in takeView.
The text was updated successfully, but these errors were encountered:
I'm in a situation where I don't have a subscope. But you have a point there, maybe I should just make one. I'll try that out and close this if it seems practical.
Presenter#takeView performs a registration that cannot be undone. If a long lived scope needs to have some presenters that come and go, it really can't.
I think that MortarScope#register needs to return a Registration or Subscription object with a void unsubsribe() method. And I think that Presenter needs a void stop() method that makes it undo the registration it sets up in takeView.
The text was updated successfully, but these errors were encountered: