ListView.getCount() 与 ListView.getChildCount()

    ListView.getCount()(其实是 AdapterView.getCount()) 返回的是其 Adapter.getCount() 返回的值。也就是“所包含的 Item 总个数”。spa     ListView.getChildCount()(ViewGroup.getChildCount) 返回的是显示层面上的“所包含的子 View 个数”。设计     两者有什么不一样
相关文章
相关标签/搜索