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
The issue is a little tricky for me to understand.
When should I dispose an observer/nextObserver if at all? Does the lib automatically call reactive.bag.dispose() when we quit current view controller in navigation hierarchy tree?
If not, where should I dispose it manually? Currently I dispose it manually on viewDidDisappear() which leads me to add observers on viewDidAppear because viewDidLoad isn't called every time you navigate thru view controllers back and forth.
But then again is it a rule of thumb to add and dispose observers every time you enter and leave a view controller (especially when VCs are bound thru navigation controller)
The text was updated successfully, but these errors were encountered:
The issue is a little tricky for me to understand.
When should I dispose an observer/nextObserver if at all? Does the lib automatically call reactive.bag.dispose() when we quit current view controller in navigation hierarchy tree?
If not, where should I dispose it manually? Currently I dispose it manually on viewDidDisappear() which leads me to add observers on viewDidAppear because viewDidLoad isn't called every time you navigate thru view controllers back and forth.
But then again is it a rule of thumb to add and dispose observers every time you enter and leave a view controller (especially when VCs are bound thru navigation controller)
The text was updated successfully, but these errors were encountered: