I am using a ListView with a BaseAdapter. Each row in the ListView has a LinealLayout and 2 ImageView.
My problem is that I need to change the alpha of the image from my Activity but I don't manage to do it.
I have tried to do it like that:
View v = listAdapter.getView(2, null, null);
ImageView img = (ImageView)v.findViewById(R.id.secondImage);
img.setAlpha(1000);
listAdapter.notifyDataSetChanged();
But after that, I can't see the new changes. Another way that I thought was using listView.getChildAt() but it always returns a Null object. What is the right way?
Thanks