-
Notifications
You must be signed in to change notification settings - Fork 528
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
Fix #153/#154 : MultipleChoice/ItemSelection Interaction #258
Conversation
@@ -52,6 +53,7 @@ class HomeFragmentPresenter @Inject constructor( | |||
} | |||
|
|||
fun playExplorationButton(v: View) { | |||
explorationDataController.stopPlayingExploration() |
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.
stopPlayingExploration()
is added to test with different exploration.
@@ -30,7 +31,7 @@ class ExplorationRetriever @Inject constructor(private val context: Context) { | |||
internal suspend fun loadExploration(explorationId: String): Exploration { | |||
return when (explorationId) { | |||
TEST_EXPLORATION_ID_5 -> loadExplorationFromAsset("welcome.json") | |||
TEST_EXPLORATION_ID_6 -> loadExplorationFromAsset("about_oppia.json") | |||
TEST_EXPLORATION_ID_6 -> loadExplorationFromAsset("oppia_exploration.json") |
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.
Added new exploration for testing ItemSelectionInput Interaction.
Duplicate of this PR is created #276 . |
Explanation
This PR is based on content-card #245 , as it contains Html parser implementation and it is used in MultipleChoice/ItemSelection Input interaction.
This PR is duplicate of #225. It contains UI structure for Multiple choice and item selection interactions, and fixes #153 and #154.
Reference Design Doc: https://docs.google.com/document/d/1HFwDFcqenAXepbYr5rfawGHvkeBZpYvNMs228AWLn24/edit?usp=sharing