I use https://github.com/emilsjolander/StickyListHeaders as the main list for most of my applications. I put this list in my layout, which I use for all of my lists. However, there are some cases when I do not want to show any headers, I just want to show a normal list, for example listview.
Is there a way to set so that StickyListHeaders do not display headers at all? There are options to ensure that the headlines are not sticky. I want the headers to simply not display, is this possible using the existing API?
@Override public View getHeaderView(int position, View convertView, ViewGroup parent) { // do nothing return null; } @Override public long getHeaderId(int position) { // do nothing return 0; }
source share