-
Notifications
You must be signed in to change notification settings - Fork 454
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
getSecondaryAdapter().getItems() 获取实体类强转报错 #37
Comments
@p7nkie |
可是都按照demo继承过了呀,列表都可以正常显示 |
@p7nkie |
就是继承的BaseGroupedItem |
你好 发现问题了 |
@p7nkie |
好的 非常感谢!!! |
你好
List<***> items = linkage.getSecondaryAdapter().getItems();
在获取适配器中的数据后遍历报错:
java.lang.ClassCastException: com.kunminx.linkage.bean.DefaultGroupedItem cannot be cast to ***
这种错误,得不到想要的实体类
可以给解答一下吗
The text was updated successfully, but these errors were encountered: