jdeslip / arxiv-mobile

arXiv mobile - An Android App for arXiv
28 stars 15 forks source link

Add data loss patch for Search Activity #20

Closed Naitim closed 2 years ago

Naitim commented 2 years ago

Hello developers of arxiv mobile

I am using your app privacy friendly notes. I think the app is great but I have one minor patch that could improve the user experience.

Here is a picture to help illustrate what activity that are changed in my patch:

https://ibb.co/mN1YmTG

When the user tries to do a new search. If the screen focus goes to another app or activity or if the user accidentally closes or press back the app, the user might lose any data they had put into this page

This feature will automatically store the data when the user leaves the activity without submitting and restore said data when they restart the activity(this can be seen here where I closed the activity and restarted it https://ibb.co/qdtCnVZ). Therefore, the user does not have to fill in the data again thus improving the user experience.

I have tested out the feature to ensure it works.

If you have any questions or if you would like me to change anything, please do not hesitate to let me know!

Thank you for your time, Tim

jdeslip commented 2 years ago

Thanks for the contribution!