コード例 #1
0
ファイル: MainActivity.cs プロジェクト: tmayhan/xamarin-nfc
        protected override void OnCreate(Bundle bundle)
        {
            CrossNfc.SetCurrentActivityResolver(() => this);
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;

            base.OnCreate(bundle);

            global::Xamarin.Forms.Forms.Init(this, bundle);
            LoadApplication(new App());

            CrossNfc.OnNewIntent(Intent);
        }
コード例 #2
0
ファイル: MainActivity.cs プロジェクト: tmayhan/xamarin-nfc
 protected override void OnNewIntent(Intent intent)
 {
     base.OnNewIntent(intent);
     CrossNfc.OnNewIntent(intent);
 }