Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Xamarin MessagingCenter not working for some pages

$
0
0

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();
    });

Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>