-
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
Singleton class in domain to manage configuration changes #1737
Comments
NB: we should keep this solution specific to interactions now rather than developing a general-purpose replacement to savedInstanceState (since it's not clear that we actually want that yet). |
@rt4914 I would like to work on this, Is there any similar implementation for reference |
@FareesHussain No we don't have any similar implementation. |
@BenHenning I've tried to understand working of Here in this issue we need to solve the following issues based on
So for this issue i need to save and restore the above infomation using but how will i know the which type of InputInteraction is used in a particular |
I think we want to close this as 'Not planned' since it's being replaced by #4470 (which is a different solution) @vrajdesai78. |
Currently in exploration player and question player, on orientation change the application does not retain the user input answer in
InputInteractions
.To manage this effectively, we should introduce a singleton class in domain layer which will be linked to pending answer such that we can save information to this singleton class as soon as the input answer changes and again we can fetch this information back on configuration change.
The text was updated successfully, but these errors were encountered: