开发者

Custom listview with multiple values in a row

im tryi开发者_JAVA百科ng to implement a custom listadapter that is set to display only distinct values for each row via the sql query. In each row i want to implement a list of textview values that displays data from another sql query. How can i implement an adapter like this ?


If you could be a little clear on your question. From what I understand, you want a listview of textviews inside a listview of textviews? More of a nested ListView. If that's the case then you can go for an ExpandableListView like this one:

http://developer.android.com/reference/android/widget/ExpandableListView.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜