java - Android Type mismatch help. Convert ArrayList to List? -
ok.. might hard follow.. app saves contacts sqlite database named contacts. contactactivity should load in sqlite database , create custom listview allows selection of multiple contacts via toggle button. the example following create custom lv allowing multiple selections has local contact class. running problems converting external dao contact class local contact class. contact.java dao class: package dto; /** * dto describes contact can create , respond survey * @author barnitek, bosticsa * */ public class contact { private int id; private string firstname; private string lastname; private string phonenumber; public contact(){ } public contact(int id, string firstname, string lastname, string phonenumber){ this.id = id; this.firstname = firstname; this.lastname = lastname; this.phonenumber = phonenumber; } public contact(string firstname, string lastname, string phonenumber){ this.firstname = firstname; this.lastname = lastname; th...