java.lang.IllegalStateException: ViewHolder views must not be attached when created. Ensure that you

在加入headerView后再次进入此见面 就报这个错误,remo headerview也会出现这个问题。解决方法是

判断一下,如果不为空直接使用

猜你喜欢

转载自blog.csdn.net/qq_31524549/article/details/86300369