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
2 answers
704 views

Invisible Delete button of my listview from all rows in android

I am trying to show and hide a delete button in each row of my ListView using a button click. For this, I tried using the code below: SavedHomeBaseAdapter extends BaseAdapter { private ...
Lokesh's user avatar
  • 5,310
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