Null when trying to put ImageView in adapter
This question already has an answer here:
Rather than
 img.setImageDrawable(resources.getDrawable(R.drawable.inbox));
 Try img.setImageResource(R.drawable.inbox) ;  
上一篇: 我试图通过使用意图来填充列表视图
下一篇: 尝试将ImageView放入适配器时为空
