ListView customize first cell
Can I have a List开发者_开发知识库View
where I can customize the first cell, and then repeat the other cells with some other custom view. Any suggestions to set manually the first row and then set adapter for other cells in different style. Can anyone help on this?
You can add header to your ListView
. Use addHeaderView()
method. If header doesn't fits your needs, read this nice explanation how to apply different layouts to different list items.
精彩评论