prism null exception on Container.Resolve<IEventAggregator>()
问题 The line Resources.Add("eventAggregator", Container.Resolve()); raises Null exception. UPDATE I've added all classes to explain more. As @Axemasta said, there is no need to register IEventAggregator and I removed registration. Now I don't how to connect the Listview EventAggregator behavior to the EventAggregator. This is whole App.xaml code file. public partial class App : PrismApplication { /* * The Xamarin Forms XAML Previewer in Visual Studio uses System.Activator.CreateInstance. * This