How to detect when the user dismisses a interstitial in Admob?
admob, android
Solution
AdListener#onAdClosed
See Play - AdListener
Problem
I recently moved my ads to the newer version (now uses com.google.android.gms.ads), but I realised that I am now missing something quite important. I used to be able to detect when the user dismissed their interstitial with OnDismissScreen, but now it looks like this is no longer an option: I used to do: ``` @Override public void onDismissScreen(Ad arg0) { interstitial = new InterstitialAd(this, "appid"); interstitial.loadAd(new AdRequest()); interstitial.setAdListener(this); } ``` Is there any sort of equivalent in the newer version of Admob? Thanks!