开发者

How to display two row listView in a tab?

I want to display a two row listview filled with开发者_Go百科 data from the database but how can i set the list item to display?


First, you should understand the concept of Adapter. When list item appears on the screen, getView(...) is called to provide data to the item. There you can provide data to your 'rows'. To create your list item you should supply xml layout file containing two views. Take a look at tutorial. You should slightly modify it to solve the problem.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜