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
` public static LoadingFooter.State getFooterViewState(RecyclerView recyclerView) {
RecyclerView.Adapter outerAdapter = recyclerView.getAdapter(); if (outerAdapter != null && outerAdapter instanceof HeaderAndFooterRecyclerViewAdapter) { if (((HeaderAndFooterRecyclerViewAdapter) outerAdapter).getFooterViewsCount() > 0) { LoadingFooter footerView = (LoadingFooter) ((HeaderAndFooterRecyclerViewAdapter) outerAdapter).getFooterView(); return footerView.getState(); } } return LoadingFooter.State.Normal; }`
你好,当我添加了一个不是LoadingFooter类型的FootView时,loadNextPage时 调用 LoadingFooter footerView = (LoadingFooter) ((HeaderAndFooterRecyclerViewAdapter) 强制转换会出问题。
The text was updated successfully, but these errors were encountered:
@WxSmile 这肯定会出问题的 若要使用自己的FootView需要修改他的源码。
Sorry, something went wrong.
No branches or pull requests
` public static LoadingFooter.State getFooterViewState(RecyclerView recyclerView) {
你好,当我添加了一个不是LoadingFooter类型的FootView时,loadNextPage时 调用 LoadingFooter footerView = (LoadingFooter) ((HeaderAndFooterRecyclerViewAdapter) 强制转换会出问题。
The text was updated successfully, but these errors were encountered: