0
正在做的聊天應用程序中,我想在列表視圖中顯示照片,adaptermodel,小圖標在線狀態列表視圖查看錯誤
這給了錯誤:
final List<AttendeeModel> attendeesList = getAttendeesList(
attendees, sender);
ListView listView = (ListView) findViewById(R.id.listView);
listView.setAdapter(new ArrayAdapter<AttendeeModel>(this,android.R.layout.simple_list_item_2, attendeesList,R.layout.row, R.id.icon));
我多麼簡單實現這個..
在此先感謝...
http://stackoverflow.com/questions/1917773/dynamic-listview-in-android-app –