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

Issue using this with custom RecyclerView adapter #55

Closed
IamJackppot opened this issue Jan 9, 2017 · 1 comment
Closed

Issue using this with custom RecyclerView adapter #55

IamJackppot opened this issue Jan 9, 2017 · 1 comment

Comments

@IamJackppot
Copy link

I am trying to use this with a custom RecyclerView adapter and a syntax error comes up using set adapter with my custom RecyclerView Adapter.

It's because I am using a nested view holder within my adapter, not the standard RecyclerView.ViewHolder.

How can I use this when using a custom view holder?

@kot331107
Copy link
Contributor

kot331107 commented Jan 10, 2017

@IamJackppot Hi,
Does your VH extend RecyclerView.ViewHolder? So kindly see the following issues
#18
#46
Also see https://github.com/clockbyte/admobadapter/blob/master/sampleapp/src/main/java/com/clockbyte/admobadapter/sampleapp/RecyclerExampleAdapter.java in our sampleapp, there the custom VH is used.

KR

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