public MainPage()
        {
            this.InitializeComponent();

            listView.ItemsSource = DataList;

            ;           this.Advertiser = new Advertiser();
            this.AncsManager            = new AncsManager();

            this.AncsManager.OnNotification += AncsManagerOnOnNotification;
            this.AncsManager.OnStatusChange += AncsManagerOnOnStatusChange;
        }
        public MainPage()
        {
            this.InitializeComponent();

            listView.ItemsSource = DataList;
         
;           this.Advertiser = new Advertiser();
            this.AncsManager = new AncsManager();

            this.AncsManager.OnNotification += AncsManagerOnOnNotification; 
            this.AncsManager.OnStatusChange += AncsManagerOnOnStatusChange;
        }
Beispiel #3
0
 protected override async void OnActivated(IActivatedEventArgs e)
 {
     AncsManager.OnUpdate(e);
 }