问题描述
我希望在我的报价应用程序中实现admob原生广告,该应用程序具有recyclerview。我正在学习Android中的编程,并试图找到原生广告的教程,但没有哪个好的教程可用于在recyclerview中实现本机admob横幅。有人试过,请给我一些建议。
谢谢
I want implement admob native ads in one of my quote application which have recyclerview. I am learning programming in android and tried to find tutorial for native ads but there no where good tutorial available for implement native admob banner in recyclerview. Anyone have tried, Please give me some suggestion.Thanks
推荐答案
我已将本地广告添加到recyclerview作为我的应用程序中的页脚视图。
I have added native ad to recyclerview as a footerview in my application.
为此您必须学习如何在recyclerview中使用viewtype。
For that you have to learn, how to use viewtype in recyclerview.
Google已将所有广告引用移至firebase,您可以在此链接中找到示例代码
Google have moved all their ad reference to firebase you can find sample code, in this link as well native ads
这篇关于RecyclerView中的Admob原生广告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!