Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RecyclerView Items not showing with Native Advanced Ads Code #100

Open
Shajeel-Afzal opened this issue Nov 10, 2017 · 2 comments
Open

RecyclerView Items not showing with Native Advanced Ads Code #100

Shajeel-Afzal opened this issue Nov 10, 2017 · 2 comments

Comments

@Shajeel-Afzal
Copy link

Hi,

I am trying to show Native Advanced Ads with the RecyclerView, but when trying the following code, it is hiding the RecyclerView completely.

AdmobRecyclerAdapterWrapper adapterWrapper = new AdmobRecyclerAdapterWrapper(getActivity(), mTestDeviceIds);

adapterWrapper.setAdapter(mAdapter);

adapterWrapper.setFirstAdIndex(firstAdIndex);
adapterWrapper.setNoOfDataBetweenAds(adsFrequency);
adapterWrapper.setLimitOfAds(listAdsLimit);

adapterWrapper.setContentAdsLayoutContext(new 
      ContentAdLayoutContext(R.layout.native_advanced_content_ad_layout));
adapterWrapper.setInstallAdsLayoutContext(new 
      InstallAppAdLayoutContext(R.layout.native_advanced_isntall_app_ad_layout));

Can you please correct me what is wrong is being done?

Regards

@kot331107
Copy link
Contributor

I'll check

@Shajeel-Afzal
Copy link
Author

Hi @kot331107! Can you please check this? Also, Have you added any example of Native Advanced Ads? There is very less documentation for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants