How to change the divider height of listview dynamically?

Posted by sunil on Stack Overflow See other posts from Stack Overflow or by sunil
Published on 2010-05-01T10:21:08Z Indexed on 2010/05/01 10:27 UTC
Read the original article Hit count: 427

Filed under:
|
|
|
|

Hi,

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?

Regards Sunil

© Stack Overflow or respective owner

Related posts about listview

Related posts about android