Migrate SelectionWatcher to Kotlin (#48747)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/48747

Migrate SelectionWatcher to Kotlin

changelog: [internal] internal

Reviewed By: tdn120, cortinico

Differential Revision: D68284145

fbshipit-source-id: 40b7d00fe0be75c5387a169038b1c58a048ac88a
This commit is contained in:
David Vacca
2025-01-21 18:58:13 -08:00
committed by Facebook GitHub Bot
parent 6cbdc94456
commit 10f4772551
@@ -5,12 +5,12 @@
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.views.textinput;
package com.facebook.react.views.textinput
/**
* Implement this interface to be informed of selection changes in the ReactTextEdit This is used by
* the ReactTextInputManager to forward events from the EditText to JS
*/
interface SelectionWatcher {
void onSelectionChanged(int start, int end);
internal interface SelectionWatcher {
fun onSelectionChanged(start: Int, end: Int): Unit
}