I am registering for Notifications in ViewDidLoad() in my Xamarin project. However I don't see any method where I can "Remove" the Observer. I need to execute something even when the View is not visible, so I can't give it in ViewWillAppear. Is there anything similar to "deinit" method.
Tried out "dispose" method in C#, but it didn't get called.
Even after doing a "PopViewController" the observer is still not getting unregistered. Not sure why it is not getting released from the memory even when the view controller is removed.