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

Fix bug: screen rotation erases unfinished text #7

Merged

Conversation

digital-dreamer
Copy link
Contributor

Problem: If you start writing a comment, and you tilt your smartphone to the side before you send it, your text will be lost and you have to start typing it again. This could be annoying if a user is forced to retype a long reply.

Cause: Reply text is not saved in the instance state. Automatic saving mechanism doesn't see the EditText field, probably because we create it dynamically.

Solution: Explicitly keep the unfinished reply text in instance state to avoid loosing it on screen rotation.

@erincandescent erincandescent merged commit f7727bb into erincandescent:master Jul 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants