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

Can't instance ViewHolder(xx.xx.ViewHolder) in xxx.xxx.AdapterDelegate #41

Open
Jamling opened this issue Apr 24, 2018 · 1 comment
Open

Comments

@Jamling
Copy link
Owner

Jamling commented Apr 24, 2018

Can't instance ViewHolder(xx.xx.ViewHolder) in xxx.xxx.AdapterDelegate is it an assessable (public/static) class?

@Jamling
Copy link
Owner Author

Jamling commented Apr 24, 2018

Your XXViewHolder must be an accessable class, if the XXViewHolder is inner class, please add public static modifier to it. Another solution is to overried instanceViewHolder and return an XXViewHolder instance under your XXAdapterDelegate.

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

1 participant