Correctly disable AdMob ads

前端 未结 9 1642
感情败类
感情败类 2020-12-02 05:13

I am integrating AdMob into my app and I wonder how to disable Ads correctly. I want to give the user the ability to disable them. I don\'t want to get any problems with AdM

9条回答
  •  庸人自扰
    2020-12-02 06:06

    Just setting the view's visibility to GONE is enough.

    If you read the Logcat output, it prints "I/Ads: Ad is not visible. Not refreshing ad.".

提交回复
热议问题