I have a ListView to which I have added a footer. What call can I make in the list view to determine if this footer is added to the list?
listView.findViewById(errorFooterid) ?
there seems to be no method
view.containsView(viewReference)
Checking that an existing view is contained differently seems like a basic operation, but I don't know if there is a reliable way to check this in android.
Why doesn't the SDK support a clear and easy way to test this? Even findByView (R.id.viewId) and null checking are not a very elegant way to do boolean checking.
source share