Reputation: 3409
I created a list view with two labels and a image view. I need to hide the image view in some rows . I dont know how to hide it. I tried mycell.imagecomponent.setVisibility(View.INVISIBLE); Please help
mycell.imagecomponent.setVisibility(View.INVISIBLE);
Upvotes: 0
Views: 59
Reputation: 1825
Use View.GONE ; I recommend This article
Upvotes: 2