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

Use ListView to show startup stage errors #1061

Merged
merged 1 commit into from
Dec 12, 2020

Conversation

kekkyojin
Copy link
Collaborator

PR Checklist

Please check all that apply to this PR using "x":

  • I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
  • I have checked that this PR does not introduce a breaking change
  • This PR introduces breaking changes and I have provided a detailed explanation below

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting)
  • Refactoring (no functional changes)
  • Documentation changes
  • Other - Please describe:

Fixes

Issue Number:

What is the current behavior?

It uses views on the activity. These views should be loaded into memory even if they are not displayed.

What is the new behavior?

These views will be created on the fly only when required. After screenshooting the activity before and after applying these changes, the screen seems exactly the same.

Other information

Testing: Fully close the app and the background service notification, activate airplane mode on the device and then restart the app.

@akinwale
Copy link
Contributor

Hey. This is cool, thanks. Will review today.

@akinwale akinwale self-requested a review December 10, 2020 08:58
@lbry-bot lbry-bot assigned akinwale and unassigned akinwale Dec 10, 2020
Copy link
Contributor

@akinwale akinwale left a comment

Choose a reason for hiding this comment

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

This is much cleaner! Thanks. 👍

@lbry-bot lbry-bot assigned akinwale and unassigned akinwale Dec 12, 2020
@akinwale akinwale merged commit 0647deb into lbryio:master Dec 12, 2020
@kekkyojin kekkyojin deleted the startupstage-listview branch December 12, 2020 22:21
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.

None yet

2 participants