Community

  • Exit Ads posted

    Hello,
    How can I display Exit ads on Android.
    When I implement exit ads onBackPressed the app closes and the ad closes to.
    Can somebody help me.

    Reply
  • @playsimple1 You can implement something like this in your onBackPressed() method:

    if(add is open){
    closeAdd();
    }else{
    super.onBackPressed();
    }

    This is just a pseudo code. Hope it helps :)

  • Sorry but that doesn't work on exit.

  • It seemed fine when I implemented it for closing adds in my app with a back button.

    Reply
Loading ...