单项选择题

在BaseAdapter的方法中,用来返回ListView显示条目个数的方法是()。

A.getViewCount()
B.getItemCount()
C.getItems()
D.getCount()