如何强制Admob的刷新在Android [英] How to force Admob to refresh on Android

查看:149
本文介绍了如何强制Admob的刷新在Android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有它Admob的广告的应用程序,但我发现,当我用它的广告几乎从来没有刷新,因为我不改变的活动,而不是我刚更新文本视图时,按钮是pressed。我试图在谷歌搜索这一点,但让正在添加短了。

I have an app with Admob ads on it but I find that when I use it the ad almost never refreshes because I don't change activities, instead I just update a text view when buttons are pressed. I have tried searching this on Google but keep comming up short.

我想告诉应用程序刷新加载偶尔,比如两个按钮,点击或类似的东西之后。有谁知道如何做到这一点,可能有一些样本code呢?

I would like to tell the app to refresh the add occasionally, such as after two button clicks or something like that. Does anyone know how to do this and potentially have some sample code for it?

推荐答案

随着新的SDK现在是:

With the new SDK now it is:

AdView.loadAd(new AdRequest());

这篇关于如何强制Admob的刷新在Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆