I have a list Activity and I want set image resource to Image view in list view item.
ListView listView = getListView();
View view = listView.getChildAt(0);
arrowImageView = (ImageView)view.findViewById(R.id.arrowImageView);
but getChildAt(0) return null. List have 10 items.
How i can find a ImageView?
Edit
I think you’re asking how to set an image resource in each item of your list view? If so, extend your SimpleCursorAdapter and override getView similar to this: