开发者

Custom listview with multiple values in a row

开发者 https://www.devze.com 2023-01-08 05:13 出处:网络
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 di

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

精彩评论

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