Reputation: 2450
In a listview, how can we change the specific item layout of particular position ?
Upvotes: 0
Views: 208
Reputation: 2153
You will create 2 xml files with layout : item.xml special_item.xml . In your adapter in get view check if (position=x ) inflate special_item else inflate item .
Upvotes: 1