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
.
精彩评论