I understood ListView Recycle mechanism very well from How ListView's recycling mechanism works but i don't understand one thing,
If i want to change height of list row then why it only works by setting height dynamically,
For example :
convertView.setLayoutParams(new AbsListView.LayoutParams(AbsListView.LayoutParams.FILL_PARENT,80));
If i define height of row layout in xml it does not change, how it is related to recycle mechanism ?
It is not only for list row height i have seen many cases where attributes of xml does not work but changing them dynamically works well, but how ?