9
I want to have a list with different dividers between the list elements. I have used this code to define a white divider with height 1:
_listView.setDivider(new ColorDrawable(Color.WHITE));
_listView.setDividerHeight(1);
However it sets the divider for all the element to be white, and I want only some of them to be white and the other in different color.
How can i do that?