forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Declare shared interface for accessibility delegate methods (facebook…
…#48543) Summary: Introduces a shared interface for methods that need to be called by the `ReactScrollViewAccessibilityDelegate` Changelog: [Internal] Reviewed By: alanleedev Differential Revision: D67948151
- Loading branch information
1 parent
bc810e5
commit 1a1bd10
Showing
5 changed files
with
33 additions
and
13 deletions.
There are no files selected for viewing
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
19 changes: 19 additions & 0 deletions
19
...e/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactAccessibleScrollView.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,19 @@ | ||
/* | ||
* 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.scroll | ||
|
||
import android.view.View | ||
|
||
/** Shared interface for the [ReactScrollViewAccessibilityDelegate] */ | ||
internal interface ReactAccessibleScrollView { | ||
|
||
val scrollEnabled: Boolean | ||
|
||
/** Returns whether the given descendent is partially scrolled in view */ | ||
fun isPartiallyScrolledInView(view: View): Boolean | ||
} |
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
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
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