Skip to content
New issue

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

swiperefresh 下面的recyclerview用linnerlayout包裹,发现加载更多不会触发,怎么办? #47

Open
lvzhihao100 opened this issue Aug 17, 2017 · 1 comment

Comments

@lvzhihao100
Copy link

No description provided.

@lvzhihao100 lvzhihao100 changed the title swiperefresh 下面的recyclerview用linnerlayout包裹,发现加载更多不会触发?怎么办 swiperefresh 下面的recyclerview用linnerlayout包裹,发现加载更多不会触发,怎么办? Aug 17, 2017
@LuckyJayce
Copy link
Owner

你用的是MVCSwipeRefreshHelper么?
MVCSwipeRefreshHelper是判断SwipeRefreshLayout的第一层包含的控件
设置滚动事件监听触发加载更多也是通过判断 那个控件是不是RecyclerView设置滚动事件监听
你可以试下自定一个MVCHelper类似MVCSwipeRefreshHelper,修改里面的getContentView()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants