Reputation: 1011
I have three adapters and headers before each adapter in a listView. If a particular section is empty, how can I hide that header(view)?
It leaves a space where it is if I make it's layout visibility gone.
Upvotes: 1
Views: 143
Reputation: 1011
I figured it out! :-)
mergeAdapter.setActive(songHeaderView, false);
So simple!
Upvotes: 1