custom listview adapter getView method being called multiple times, and in no coherent order

后端 未结 11 2095
情话喂你
情话喂你 2020-11-22 04:50

I have a custom list adapter:

class ResultsListAdapter extends ArrayAdapter {

in the overridden \'getView\' method I do a

11条回答
  •  清酒与你
    2020-11-22 05:33

    Try with match_parent on the layout_height property of the list view. It will prevent getView() to be called so often.

提交回复
热议问题