AztecEditor-Android icon indicating copy to clipboard operation
AztecEditor-Android copied to clipboard

getLocationOnScreen() vs. getLocationInWindow()

Open marcardar opened this issue 3 years ago • 0 comments

https://github.com/wordpress-mobile/AztecEditor-Android/blob/fdcf6ce096db614a8c94e08570a5413106f58b9f/aztec/src/main/kotlin/org/wordpress/aztec/AztecText.kt#L612

I was just checking targetSdkVersion requirements and they mention potentially using getLocationInWindow() instead of getLocationOnScreen() because of the new advanced window management.

I'm not too familiar with this, but maybe it's worth checking which method should be used in this particular scenario.

marcardar avatar Oct 21 '22 07:10 marcardar