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

MessagingCenter.Subscribe in view or viewmodel?

$
0
0

Assuming that I can choose, which is better for using MessagingCenter. I'm getting doubts because in view i can actually unsubscribe in onDissapearing, while for view model it's needed to extend IDisposable in order to unsubscribe from MessagingCenter.


Viewing all articles
Browse latest Browse all 58056

Trending Articles