Xamarin MessagingCenter not working for some pages

I'm using messagingcenter to send message from a viewmodel to another viewmodel, the destination content page can be accessed from master page only(by clicking on hamburger icon). message can be send successfully to the previous and next pages but cannot send to pages within master page.Please help..

MessagingCenter.Send<Cart_page_vm>(this, "check_address_id");

MessagingCenter.Subscribe<Cart_page_vm>(this, "check_address_id", (sender) =>
    {
        //  getaddresses();
    });

Answers

Sign In or Register to comment.