开发者

How to display two row listView in a tab?

开发者 https://www.devze.com 2023-03-03 23:47 出处:网络
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 appe

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

精彩评论

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

关注公众号