'Behavior OnDetachingFrom not called on close of popup

On close of popup behavior dettach method is not called. while OnDisappering the page if binding context is assigned with null OnDetachingFrom will be called.

But in my case i cant set BindingContext = null;

is there another solution



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source