We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty view not showing if you use addFooter view, no exceptions.
The text was updated successfully, but these errors were encountered:
Add emptyView use a isEmpty() adapter method. When we add footer, that method don't return true, so solution is a in HeaderViewGridAdapter:
@Override public boolean isEmpty() { //boolean empty = (mAdapter == null || mAdapter.isEmpty()) && getHeadersCount() == 0 && getFootersCount() == 0; boolean empty = (mAdapter == null || mAdapter.isEmpty()); return empty; }
Sorry, something went wrong.
c1e7ff1
👍 thank you.
liaohuqiu
No branches or pull requests
Empty view not showing if you use addFooter view, no exceptions.
The text was updated successfully, but these errors were encountered: