I have downloaded MultiImagePicker from this link : https://github.com/danielkon96/MultiImagePickerand it's working fine without any problem . When I add all interfaces and classes and... in my project , the MessagingCenter does not receive message .
ButtonClick in UploadPage:
MessagingCenter.Unsubscribe<App, List<string>>((App)Xamarin.Forms.Application.Current, "ImagesSelectedAndroid");
MessagingCenter.Subscribe<App, List<string>>((App)Xamarin.Forms.Application.Current, "ImagesSelectedAndroid", (s, images) =>
{
if (images.Count > 0)
{
ImgCarouselView.ItemsSource = images;
InfoText.IsVisible = true;
}
});
OnActivityResult in MainActivity :
MessagingCenter.Send<App, List<string>>((App)Xamarin.Forms.Application.Current, "ImagesSelectedAndroid", images);
What's the problem ?