-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert xplat/js/react-native-github/packages/react-native/ReactAndro…
…id/src/main/java/com/facebook/react/views/textinput/SelectionWatcher to Kotlin Differential Revision: D68277693
- Loading branch information
Showing
2 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
16 changes: 0 additions & 16 deletions
16
...ative/ReactAndroid/src/main/java/com/facebook/react/views/textinput/SelectionWatcher.java
This file was deleted.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
...-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/SelectionWatcher.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* Copyright (c) Meta Platforms, Inc. and affiliates. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
package com.facebook.react.views.textinput | ||
|
||
/** | ||
* Implement this fun interface to be informed of selection changes in the ReactTextEdit This is | ||
* used by the ReactTextInputManager to forward events from the EditText to JS | ||
*/ | ||
internal interface SelectionWatcher { | ||
fun onSelectionChanged(start: Int, end: Int) | ||
} |