Пример #1
0
 public override void OnOpened(AdColonyInterstitial ad)
 {
     // Ad opened, reset UI to reflect state change
     _activity.showButton.Enabled  = false;
     _activity.progress.Visibility = ViewStates.Visible;
     Log.Debug(TAG, "onOpened");
 }
Пример #2
0
 public override void OnRequestFilled(AdColonyInterstitial ad)
 {
     // Ad passed back in request filled callback, ad can now be shown
     _activity.ad = ad;
     _activity.showButton.Enabled  = true;
     _activity.progress.Visibility = ViewStates.Invisible;
     Log.Debug(TAG, "onRequestFilled");
 }
Пример #3
0
 public override void OnExpiring(AdColonyInterstitial ad)
 {
     // Request a new ad if ad is expiring
     _activity.showButton.Enabled  = false;
     _activity.progress.Visibility = ViewStates.Visible;
     AdColony.RequestInterstitial(ZONE_ID, this, _activity.adOptions);
     Log.Debug(TAG, "onExpiring");
 }