-
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.
Migrate ReactOverflowView to kotlin (#47750)
Summary: Pull Request resolved: #47750 Migrate ReactOverflowView to kotlin changelog: [internal] internal Reviewed By: NickGerleman Differential Revision: D66217252 fbshipit-source-id: 8cd642dee2077006eab10d718a1887a77fd029a7
- Loading branch information
1 parent
03a1246
commit 25ee3e8
Showing
3 changed files
with
22 additions
and
26 deletions.
There are no files selected for viewing
25 changes: 0 additions & 25 deletions
25
...act-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactOverflowView.java
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
...react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/ReactOverflowView.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,21 @@ | ||
/* | ||
* 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.uimanager | ||
|
||
/** | ||
* Interface that should be implemented by [View] subclasses that support [overflow] style. This | ||
* allows the overflow information to be used by [TouchTargetHelper] to determine if a View is | ||
* touchable. | ||
*/ | ||
public interface ReactOverflowView { | ||
/** | ||
* Gets the overflow state of a view. If set, this should be one of [ViewProps#HIDDEN], | ||
* [ViewProps#VISIBLE] or [ViewProps#SCROLL]. | ||
*/ | ||
public fun getOverflow(): String? | ||
} |
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