Android-RTEditor
Android-RTEditor copied to clipboard
Bug: orientation change resets the caret position
v1.6.7
Steps:
- put some text in the editText of this library.
- Put the caret in the middle of the text.
- change orientation.
The bug is that the caret goes to the beginning of the text.
The only way I've found to solve this, is by setting the caret to where you were before, in the onResume function. Here's a sample project to show my workaround:
RTEditTextTest.zip
Please have a better way to solve this. I tried various ways, but none worked.