Android: Getting a count of the visible children in a listview
问题 Is there are way to get a count of the number of visible listview children? I have a listview with info linked to a database that can change at any time. When the database is changed, I send out a broadcast notifying the ui class handling the list view. The child element relating to the changed data is then updated. I am achieving this by giving each listview item a tag, and then iterating over the listviews to find the row matching the tag from the broadcast. I want to only iterate over the