I have two different editors and I am differentiating them based on the variable editorInfo.privateImeOptions
. Each editor has a different value set for this variable. When I open an editor and press the back button and then open another editor, everything works fine. But if I open an editor, press home button and open another editor, editorInfo.privateIMEOptions
still gives me the old value i.e the value associated with the first opened editor but not the one newly opened. Is there a way to flush editorInfo
or make the home button work exactly like the back button on android.
It would also be helpful if anyone could let me know how to make home button work like back button in android.