I couldn't compile the "StateManger" because I need library for "Reflector".
I don't know what code snippets you have put together because StateManger doensn't need the Reflector library so this problem is somewhere else in your program. To help us giving you the best advice you must post your project as a zip file then we can look at it, see what you have done, test it in the same conditions as you do and give you a concrete advice. Otherwise we must continue the 'riddle game'.
The original problem of loosing the text in the EditText view is due to the life cycle of the activity. When you change the orientation the cureent Activity is paused and recreated. If you want to save the content of views you must save them in Activity_Pause and restore them in Activity_Resume. There are different solutions to save the data:
- StateManger
- global variables
- in a file
The second problem with the missing Reflector library is a new problem you added with some code, but has nothing to do with the StateManger module.
Without your code we cannot help more.
Best regards.