S simon w Member Licensed User Longtime User Dec 18, 2013 #1 Hi, changing the phone's orientation (from horizontal to vertical or vice versa ) causes the edittext to lose it's data (only on some phones). any ideas how i can correct this? thanks simon
Hi, changing the phone's orientation (from horizontal to vertical or vice versa ) causes the edittext to lose it's data (only on some phones). any ideas how i can correct this? thanks simon
NJDude Expert Licensed User Longtime User Dec 18, 2013 #2 That's normal, rotating the device will relaunch Activity_Create, to save the values you need to use something like StateManager Upvote 0
That's normal, rotating the device will relaunch Activity_Create, to save the values you need to use something like StateManager
S simon w Member Licensed User Longtime User Dec 18, 2013 #3 thank you for your quick response! i implemented the statemanager but it doesn't seem to work for labels that had their values changed in code or listview. any suggestions. once again thanks for your help simon Upvote 0
thank you for your quick response! i implemented the statemanager but it doesn't seem to work for labels that had their values changed in code or listview. any suggestions. once again thanks for your help simon
NJDude Expert Licensed User Longtime User Dec 18, 2013 #4 That code is a CLASS, you can modify the code and tailor it to your needs. Upvote 0