Ejemplo n.º 1
0
        protected void InitView()
        {
            Init();
            //Define xml elements.
            adIdTv        = FindViewById <TextView>(Resource.Id.ad_id_tv);
            disableAdIdTv = FindViewById <TextView>(Resource.Id.disable_ad_id_tv);
            GetIdentifierThread getIdentifierThread = new GetIdentifierThread(this);

            getIdentifierThread.Start();
        }
        protected void InitView()
        {
            base.Init();
            // Create the "ad_id" TextView, which tries to show the obtained "OAID".
            mAdIdTv = FindViewById <TextView>(Resource.Id.ad_id_tv);
            // Create the "disable_ad_id" TextView, which tries to show the obtained "Disable Personalized Ads" Switch
            mDisableAdIdTv = FindViewById <TextView>(Resource.Id.disable_ad_id_tv);
            GetIdentifierThread getIdentifierThread = new GetIdentifierThread(this);

            getIdentifierThread.Start();
        }