在我的应用程序中,ExpandableListAdapter 中的 getChildView()
没有被调用,而适配器返回正确的子计数(当 getChildrenCount()
被调用)。
我的问题是; 要让 ExpandableListAdapter 扩充其子级,需要满足哪些条件?
最佳答案
当您在组中和子项中有超过 1 个项目时调用,我的意思是当 get GroupCount 返回大于 0 的值时
关于android - 在什么条件下在 ExpandableListAdapter 中调用 getChildView(),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18152629/