I'm trying to find an ImageView by tag. I assign a tag for the ImageView, but when I try to findViewWithTag, it returns null. I read that I should add to the view the childer with addChilder, but the view doesnt have this function. Can someone explaim to me how I can do this?
ImageView principal = (ImageView) findViewById(R.id.imagen_home_0);
principal.setTag("principal");
in other class(AsyncTask) that i pass the context
View noMiembros = new View(context);
ImageView er = (ImageView) noMiembros.findViewWithTag("principal");
er.setImageBitmap(result);