Esempio n. 1
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            TabLayoutResource = Resource.Layout.Tabbar;
            ToolbarResource   = Resource.Layout.Toolbar;

            base.OnCreate(savedInstanceState);
            Xamarin.Forms.Forms.Init(this, savedInstanceState);

            ConfigFile.GetConfigFile().SetPluginData("Xamarin", IronSourceUtils.SDKVersion, "9.1.5.0");
            IronSource.SetRewardedVideoListener(new RewardedVideoListener());
            IronSource.SetUserId("892aa79c4cf54aa0a231ed3e23471a1b");
            IronSource.Init(this, "88fbfe65", IronSource.AD_UNIT.RewardedVideo);
            IronSource.ShouldTrackNetworkState(this, true);
            IntegrationHelper.ValidateIntegration(this);

            LoadApplication(new App(new RewardedVideoService()));
        }