谁调用了自定义ArrayAdapter的getView()方法class
Who calls the getView() method of custom ArrayAdapter class
在android中使用自定义ArrayAdapter
时,自定义ArrayAdapter的getView()
被谁调用了?我已经搜索了这个问题很多次...在 Whosebug 中找到了它,但用户标记为满意的答案是:
for the developer it is not necessary to know that who calls the
getView()
of the ArrayAdapter class".
拜托,我谦虚地请求一个更有意义的答案将不胜感激!
getView()
被 AdapterView
的子类调用。因此,如果您将 Adapter
附加到 ListView
,ListView
继承自 AbsListView
,并且 AbsListView
will be calling getView()
使行显示在列表中。
在android中使用自定义ArrayAdapter
时,自定义ArrayAdapter的getView()
被谁调用了?我已经搜索了这个问题很多次...在 Whosebug 中找到了它,但用户标记为满意的答案是:
for the developer it is not necessary to know that who calls the
getView()
of the ArrayAdapter class".
拜托,我谦虚地请求一个更有意义的答案将不胜感激!
getView()
被 AdapterView
的子类调用。因此,如果您将 Adapter
附加到 ListView
,ListView
继承自 AbsListView
,并且 AbsListView
will be calling getView()
使行显示在列表中。