开发者

Android, collections

开发者 https://www.devze.com 2022-12-18 06:40 出处:网络
I have a generic list in android. 开发者_C百科for other hand i have a listview. How i could bind the generic list into the listview?

I have a generic list in android.

开发者_C百科

for other hand i have a listview.

How i could bind the generic list into the listview?

Thanks in advance. Best regards. Jose


Use an ArrayAdapter, if the "generic collection" implements the List interface. Otherwise, create your own Adapter class, extending BaseAdapter.

0

精彩评论

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

关注公众号