mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
6cbdc94456
commit
10f4772551
+3
-3
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user