I am trying to send list of BarData
objects to my FavoritesPage.xaml.cs
through MessagingCenter. I have tried
MessagingCenter.Send<BarData>(_favoriteBarsList, "FaveBars");
and it gives me an error, telling me I can't convert the sender from a list to an object. I then tried to use
MessagingCenter.Send<List<BarData>>(_favoriteBarsList, "FaveBars");
and visual studio screams at me LOL! I tried search online how to send a list of objects through MessagingCenter but I can't find anything. Can someone please help?