ExpandableList getChildView running twice per child

前端 未结 1 749
礼貌的吻别
礼貌的吻别 2021-01-13 12:41

I\'ve got and ExpandableList which I assign to an extended BaseExpandableListAdapter. In here, I implement the getChildView method to

相关标签:
1条回答
  • 2021-01-13 13:12

    As I mentioned in your other question, the ListView calls getView() to get the dimensions (width and height) of some items first, then calls the getView() again to actually render the items. Check this video out, it's "required reading" for Android. The bit that deals with your question is at minute 41:30.

    0 讨论(0)
提交回复
热议问题