Skip to main content

All Questions

0 votes
1 answer
537 views

Not able to set the visibility of a button inside a listview programmatically

I am trying to set the visibility of a button based on a certain condition in a listview. Context : The listview has parameters for response to a post . It contains title,description etc of the ...
maya's user avatar
  • 159
0 votes
3 answers
1k views

change listview's button visibility in an activity

I have a ListView which has a button inside its each rows, I declare the Button inside my ListView adapter, this Button is invisible but I need to change the Button view to visible for some cases. as ...
user3054226's user avatar
1 vote
5 answers
6k views

How to setVisibility in a listview by a button outside it?

I have a custom Listview with 1 Button on a row I would like to add a button outside the Listview to set the visibility on button on all rows How can i achieve this? And i DONT wanna use ...
Danny Ho's user avatar
  • 149
0 votes
7 answers
1k views

How to set the visibilty of button in a custom ListView?

I have a custom ListView with a button, so when I click on a button it should disappear and it is disappearing but when I scroll down and come back the button is again appearing and a different button ...
Saad's user avatar
  • 309