Reputation: 2578
I have a generic list in android.
for other hand i have a listview.
How i could bind the generic list into the listview?
Thanks in advance. Best regards. Jose
Upvotes: 1
Views: 363
Reputation: 1006604
Use an ArrayAdapter
, if the "generic collection" implements the List
interface. Otherwise, create your own Adapter
class, extending BaseAdapter
.
Upvotes: 4