I am having one button - ON tapping on button, we are showing drop-down list On tapping of list item, I am making item's visibility false I want to hide button when all items are invisible And show button if we have a single item visible from list
I have tried this - [Please suggest some simplified code if you are having]
I am calling some function on click in which I am doing this - I am running a loop of list items from which I am taking number of invisible items ... And once my invisible item's length is similar to my actual list length, I am hiding the button .. So once I get a single item visible, my button will get shown