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

Improve ContinueButtonView's robustness #3

Conversation

BenHenning
Copy link

@BenHenning BenHenning commented Nov 7, 2022

Explanation

Fix ContinueButtonView robustness issues as part of oppia#4568.

In particular, this change:

  • Updates ContinueButtonView to take its animation properties from higher up to avoid potential inconsistencies between its own syncing with ExplorationProgressController and the one in StateFragmentPresenter (which could potentially be inconsistent). It also ensures the view works correctly when used in question practice sessions.
  • Ensures ContinueButtonView can be reused across recycles (specifically, that its animation timer doesn't affect a later reuse of the view).

Some Bazel build issues were also fixed.

In particular, this change:
- Updates ContinueButtonView to take its animation properties from
higher up to avoid potential inconsistencies between its own syncing
with ExplorationProgressController and the one in StateFragmentPresenter
(which could potentially be inconsistent). It also ensures the view
works correctly when used in question practice sessions.
- Ensures ContinueButtonView can be reused across recycles
(specifically, that its animation timer doesn't affect a later reuse of
the view).

Some Bazel build issues were also fixed.
@BenHenning BenHenning marked this pull request as ready for review November 7, 2022 08:16
@BenHenning
Copy link
Author

@JishnuGoyal PTAL.

@JishnuGoyal JishnuGoyal merged commit 91ff801 into JishnuGoyal:continue_button_animation Nov 8, 2022
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.

2 participants