Skip to content

Commit

Permalink
Convert xplat/js/react-native-github/packages/react-native/ReactAndro…
Browse files Browse the repository at this point in the history
…id/src/main/java/com/facebook/react/views/textinput/SelectionWatcher to Kotlin

Differential Revision: D68277693
  • Loading branch information
mdvacca committed Jan 16, 2025
1 parent 8a12672 commit 4e67c32
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.

This file was deleted.

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)
}

0 comments on commit 4e67c32

Please sign in to comment.