How to change the divider height of listview dynamically?
问题 I have a listview in which there should be different divider height between different rows. So, how can we set the divider height dynamically? Suppose, I have 10 rows and there should be a divider height of 5 between first 2 rows and then there should be a divider height of 1 between next 5 rows and so on. Can someone let me know the way of doing this? 回答1: One way would be to make the dividers rows. Set them as not enabled in your isEnabled adapter method. I do that for section headers, but