Subclassing SimpleCursorAdapter to include convertView for memory conservation

后端 未结 5 1739
抹茶落季
抹茶落季 2020-12-29 17:18

I\'ve been scouring throug the examples and tutorials but I can\'t seem to get my head around how to handle recycling within a subclassed SimpleCursorAdapter. I know that f

5条回答
  •  忘掉有多难
    2020-12-29 17:47

    CursorAdapter does the work partially for you. You only need to override newView() when a new view needs to be created, and bindView() when an existing view is recycled.

提交回复
热议问题