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

Call doInitialLoadLogic() in onStart() #3476

Closed
wants to merge 1 commit into from
Closed

Call doInitialLoadLogic() in onStart() #3476

wants to merge 1 commit into from

Conversation

wb9688
Copy link
Contributor

@wb9688 wb9688 commented Apr 24, 2020

What is it?

  • Bug fix (user facing)
  • Feature (user facing)
  • Code base improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

This PR will make it call doInitialLoadLogic() in onStart() instead of onViewCreated(), so that it only requests it once the fragment is visible or next-to-visible. I still need to test further to see whether it introduces any new bugs.

Fixes the following issue(s)

Partially fixes #2678 once it works

Agreement

@wb9688 wb9688 added the bug Issue is related to a bug label Apr 24, 2020
@wb9688 wb9688 added this to the 0.19.4 milestone Apr 24, 2020
@wb9688 wb9688 mentioned this pull request Apr 24, 2020
@Stypox
Copy link
Member

Stypox commented Apr 24, 2020

Is #2513 related?

@wb9688 wb9688 marked this pull request as draft April 24, 2020 19:44
@wb9688
Copy link
Contributor Author

wb9688 commented Apr 25, 2020

I noticed that this works properly for lazy-loading my channel tabs, but not for the home screen tabs somehow. Interesting…

@wb9688 wb9688 changed the title Call doInitialLoadLogic() in onResume() Call doInitialLoadLogic() in onStart() Apr 26, 2020
@wb9688 wb9688 removed this from the 0.19.4 milestone May 7, 2020
@wb9688 wb9688 closed this Oct 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Slow to open
2 participants