Also I want to clarify the question
I have 10 List Items in a Listview
I want to have the deviderheight of each List Items differently like for first Item it should be setDividerheight(2) for 2nd setDividerheight(4) like this..

hmm, I am working on a Listview which is based on drag and drop, so in my case I can not add a divider which is a part of ListItem, I want a saparate divider more like a Listviews divider ;-)
–
kendrelaxmanAug 8 '12 at 6:33

I have tried this solution whcich gives me almost what I wanted with some adjusting done but there is a issue when I scroll the height is changing of the views. I guess this is bcoz of convertview in the getview is there any solution to handle this?
–
kendrelaxmanAug 14 '12 at 9:01

I dont think that is what @kendrelaxman is asking in the question. He wants to set different dividerHeight for different views of the rows in the ListView.
–
jaydeepwJun 12 '14 at 7:25