Trying to populate a ListView according to the layout of Android.resource.layout.simple_list_item2 without using extra/temporary lists -


i have this

 arraylist<customer> customers; 

list , initialized , ready use. want view 2 member fields of each , every single customer on listview, one: image

this layout provided in android resources simple_list_item2 can't code custom adapter use it. first textview in row of listview showing return value of customers.get(i).getdefinition() , second textview displaying customers.get(i).getincharge().

how can code neccessary custom adapter?


Comments

Popular posts from this blog

ios - Assigning a value out of array of arrays, using section in Xcode -

r - XTS-File doesnt work for quantstrat -