コード例 #1
0
        public MainPage()
        {
            this.InitializeComponent();

            listView.ItemsSource = DataList;

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

            this.AncsManager.OnNotification += AncsManagerOnOnNotification;
            this.AncsManager.OnStatusChange += AncsManagerOnOnStatusChange;
        }
コード例 #2
0
        public MainPage()
        {
            this.InitializeComponent();

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

            this.AncsManager.OnNotification += AncsManagerOnOnNotification; 
            this.AncsManager.OnStatusChange += AncsManagerOnOnStatusChange;
        }
コード例 #3
0
ファイル: App.xaml.cs プロジェクト: xamarinua/AncsNotifier
 protected override async void OnActivated(IActivatedEventArgs e)
 {
     AncsManager.OnUpdate(e);
 }