clockbyte / admobadapter

It wraps your Adapter to display Admob native ads and banners in a ListView/RecyclerView data set. It based on the Yahoo fetchr project https://github.com/yahoo/fetchr
Apache License 2.0
237 stars 75 forks source link

How to set size for native ads? #129

Open narakai opened 5 years ago

narakai commented 5 years ago

Admobadapter version or commit: 1.4.6 Android compileSdkVersion: 26 Issue description briefly: Could not find any methods to set height for native ads, I am using AdmobRecyclerAdapterWrapper. Steps to reproduce: Use AdmobRecyclerAdapterWrapper to show native ads. All the code which you want to share adapterWrapper = new AdmobRecyclerAdapterWrapper(mActivity, "XXX"); adapterWrapper.setFirstAdIndex(3); adapterWrapper.setAdapter(mRecyclerAdapter);