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

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -