Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

InfiniteScroll not working for horizontal recycler view #111

Open
nogipx opened this issue Dec 10, 2019 · 1 comment
Open

InfiniteScroll not working for horizontal recycler view #111

nogipx opened this issue Dec 10, 2019 · 1 comment
Labels
2.x Version - Issues related to 2.x version 3.x Version - Issues related to 3.x version component-core Component - Issues related to core adapter library type:bug

Comments

@nogipx
Copy link

nogipx commented Dec 10, 2019

  • Android API level: 21
  • Library Version: 3.0.0
  • Recyclerview Version 1.0.0

InfiniteLoadingHelper.java

private static class InfiniteScrollListener extends RecyclerView.OnScrollListener {

    @Override public void onScrolled(@NonNull RecyclerView recyclerView, int dx, int dy) {
      if (dy > 0 && !loadingHelper.isLoading && loadingHelper.canLoadMore) {

For horizontal scrolling this condition is always false

@nogipx nogipx added the new Describes the issue is reported recently and not reviewed by the maintainers label Dec 10, 2019
@DevAhamed DevAhamed added 2.x Version - Issues related to 2.x version 3.x Version - Issues related to 3.x version component-core Component - Issues related to core adapter library type:bug and removed new Describes the issue is reported recently and not reviewed by the maintainers labels Dec 11, 2019
@DevAhamed
Copy link
Owner

Hi, Thanks for reporting this issue. Will try to ship out the fix in next release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2.x Version - Issues related to 2.x version 3.x Version - Issues related to 3.x version component-core Component - Issues related to core adapter library type:bug
Projects
None yet
Development

No branches or pull requests

2 participants