Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Event for "onAdLeftApplicationDone"?

Tags:

android

admob

New to AdMob, just implemented my first InterstitialAd and it's working fine.

So if you'd look at this official documentation for "AdListener", you would see this description for "onAdLeftApplication()"-Event:

public void onAdLeftApplication ()

Called when an ad leaves the application (e.g., to go to the browser).

Now i'm wondering how i could trigger "onAdRETURNSAfterLeftApplication"-kinda return event. I know there are "onResume(), onPause()", but that's not precise enough for my purposes. What's the deal with having "onAdLeftApplication()" when there is no opposite event for that Call? Doesn't make no sense for me:/

like image 947
user3628726 Avatar asked May 31 '26 00:05

user3628726


1 Answers

The official documentation also states:

public void onAdClosed ()

Called when the user is about to return to the application after clicking on an ad.

There's no need for "onAdRETURNSAfterLeftApplication" because the onAdClosed() callback handles that.

like image 180
Nana Ghartey Avatar answered Jun 01 '26 13:06

Nana Ghartey



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!