-
Notifications
You must be signed in to change notification settings - Fork 527
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
Introduce load exploration part 1 #213
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tests to verify correctness. Also, added a method to facilitate notifying of DataProvider changes on the UI thread.
…dered initialization.
… it up to the data controller, and start adding tests.
Conflicts: domain/build.gradle domain/src/main/java/org/oppia/domain/exploration/ExplorationDataController.kt Also, migrate the data controller to the retriever.
AnswerClassificationController, and attempted to make ExplorationProgressController thread-safe. The thread-safety led to significant interface changes in the progress controller, and led to discovering some issues with the mediator live data approach to interop coroutines and LiveData. This locking mechanism will need to change since the optimal solution requires resolving #90.
with the current MediatorLiveData implementation (see #90 for more context). Fix existing progress controller tests and add a few more. All current progress controller tests are passing.
…ation support for the second test exploration (about_oppia).
…-controller' into introduce-load-exploration-part-1
rt4914
changed the base branch from
develop
to
introduce-exploration-progress-controller
October 7, 2019 11:02
rt4914
changed the base branch from
introduce-exploration-progress-controller
to
develop
October 7, 2019 11:02
@veena14cs @nikitamarysolomanpvt you can use this branch for working with interactions in StateFragment. |
veena14cs
reviewed
Oct 7, 2019
rt4914
changed the base branch from
develop
to
introduce-observable-view-model
October 7, 2019 12:21
rt4914
changed the title
Introduce load exploration part 1
Introduce load exploration part 1 (Merge after #211 is merged)
Oct 8, 2019
rt4914
changed the title
Introduce load exploration part 1 (Merge after #211 is merged)
Introduce load exploration part 1
Oct 9, 2019
rt4914
changed the base branch from
introduce-observable-view-model
to
develop
October 9, 2019 03:14
@BenHenning Ready for your review. |
BenHenning
approved these changes
Oct 9, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @rt4914!
app/src/main/java/org/oppia/app/home/RouteToExplorationListener.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/org/oppia/app/player/state/StateFragmentPresenter.kt
Outdated
Show resolved
Hide resolved
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Explanation
This branch does not fix any particular issue but plays an important role for many issues related to ExplorationPlayer.
This PR mainly loads the exploration and opens the
ExplorationActivity
following which you can find thecurrentState
inStateFragmentPresenter
usinggetCurrentState
method.Also, this PR will be base PR for upcoming work in ExplorationPlayer related low-fi.
Checklist