-
Notifications
You must be signed in to change notification settings - Fork 217
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
请问,可以用我自己写的ViewHolder么? #82
Comments
因为GroupedRecyclerViewAdapter跟BaseViewHolder是强依赖关系,所以你必须使用BaseViewHolder。如果你想要自定义ViewHolder,可以让你的ViewHolder继承BaseViewHolder。 |
继承之后,通过哪个方法绑定到Adapter呢? |
我这边解决了,我重写了onCreateViewHolder方法 |
好的,谢谢! |
我在用你的adapter时发现,只能用你写好的BaseViewHolder,但是我需要用自己的ViewHolder,请问有没有什么办法做到?
The text was updated successfully, but these errors were encountered: