xamarin vs2017 使用NotificationListenerService 做安卓拦截通知
1.在MainActivity中设置[Activity(Label="DyHoldNotice",Icon="@mipmap/icon",Theme="@style/MainTheme",MainLauncher=true,ConfigurationChanges=ConfigChanges.ScreenSize|ConfigChanges.Orientation)]publicclassMain