0
我正在查找如何将图像分配给可扩展列表的每个子项中的imageview。将imageview添加到可扩展列表查询中的子元素
如果任何人有任何信息或链接,以了解如何做到这一点,我会非常感激。
expListAdapter =
new SimpleExpandableListAdapter(
main.this,
createGroupList(),
R.layout.parentnode,
new String[] { "day", "number" },
new int[] { R.id.TextView01, R.id.TextView02 },
createChildList(),
R.layout.child_row,
new String[] { "image", "childName", "date"},
new int[] { R.id.ImageView01, R.id.childname, R.id.date }
);
setListAdapter(expListAdapter);
是我的适配器在这一刻看起来像什么,我在自定义适配器,所以我不知道从哪里开始。
任何帮助将是巨大的:d