10000 Use ViewWillAppear for iOS activation by kentcb · Pull Request #1182 · reactiveui/ReactiveUI · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Use ViewWillAppear for iOS activation #1182

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

Merged
merged 3 commits into from
Oct 29, 2016

Conversation

kentcb
Copy link
Contributor
@kentcb kentcb commented Oct 29, 2016

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Enhancement.

What is the current behavior? (You can also link to an open issue here)

iOS activation occurs on ViewDidAppear, meaning there is a slight delay after a view appears before bindings and such are enacted. This results in a short, but jarring delay between the view appearing and the data appearing within the view.

What is the new behavior (if this is a feature change)?

iOS activation occur on ViewWillAppear, meaning bindings and such can be enacted just before the view is shown to the user.

Does this PR introduce a breaking change?

No.

Please check if the PR fulfills these requirements

Other information:

This PR builds on, and supersedes #779. There was one outstanding controller that needed to also be switched over, though it was probably added after #779 was opened.

thedillonb and others added 3 commits December 17, 2014 18:22
Fixes reactiveui#778

WillAppear allows activation to take place before the view is displayed. This means that handlers or visual components can get into place and transition into view. Otherwise, DidAppear creates a window of inactivity where an animated view may appear void of activation until it's fully in view.
@kentcb kentcb self-assigned this Oct 29, 2016
@kentcb kentcb merged commit a05b1ad into reactiveui:rxui7-master Oct 29, 2016
@ghuntley ghuntley modified the milestone: 7.0.0 Nov 6, 2016
glennawatson pushed a commit that referenced this pull request Mar 23, 2019
Use ViewWillAppear for iOS activation
@lock lock bot locked and limited conversation to collaborators Jun 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0