开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜