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

5120: Fix image item loading in ExploreFragment #5122

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

bosankus
Copy link
Contributor

Fixes #5120

What changes did you make and why?

  • Removed redundant try block containing checker with rsp.body instead of using peekBody, resulting in closing the connection before even reading it.

- removed redundant try block containing checker with `rsp.body` instead of using peekBody, resulting in closing the connection before even reading it.
Copy link
Member

@nicolas-raoul nicolas-raoul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Ankush,

Sorry I should have explained that the ideal behavior (which was happening until a month or two ago) is to endless scrolling: automatically load more images each time the user nears the bottom.

Do you want to investigate that? If not, feel free to just focus on fixing unit tests if you want :-)

Thanks a lot!

Copy link
Member

@nicolas-raoul nicolas-raoul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this PR, the list is unfortunately still limited to 10 pictures.

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

Successfully merging this pull request may close these issues.

Explore: "Load more" and "error occurred while loading images"
2 participants