getCount()中的getChildCount()和ListView有什么区别? 最佳答案 getCount()返回您适配器中的项数(列表中的总数),getChildCount()是一种ViewGroup方法,它返回您 subview 的数量。 ListView会主动重用 View ,因此,如果您的列表中有1000个项目,那么getCount()将返回1000,getChildCount()-大约10个左右...