-
Notifications
You must be signed in to change notification settings - Fork 418
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
addFooterView后会导致adapter去getViewHolder的时候空指针 #2
Comments
Yes, this is a problem. Do you know how to fix it? |
空指针的原因是如果add了footerView且最后一行item不足列数的时候会新创建一个view补足。 最后,大家都是中国人,没必要在这秀英文吧。特别是用Google自动翻译的英文.... |
Currently, this issue has been fixed. It will be great if you review the code and propose more suggestion. Thank you for your feedback and suggestion, I really appreciate that. 👍 |
vh = (ViewHolder) view.getTag();
当数据正好超过一屏幕的时候,自己定义的Adapter中,使view重用的这句会nullpoint
这个问题依然存在,我关闭的原因是可以通过不addFooterView规避。
The text was updated successfully, but these errors were encountered: