我希望能够填充存储在 SD 卡中的位图和数组列表。
现在在 android 开发人员中,String[]from 保存了 hashmap 加载每个键中使用的项目的键。
SimpleAdapter(Context context, List<? extends Map<String, ?>> data, int resource, String[] from, int[] to)
我的问题更多是如何显示实际的位图图像,因为我知道“站点”使用 HashMap.put(ImageKey, R.id.image) 的示例,其中 R.id.image 是整数而不是位图。
我的问题是“如何在 SimpleAdapter 中加载位图?”。