From 3acab8c0920176d3983feb280cbb2b0ece724717 Mon Sep 17 00:00:00 2001 From: Vojtech Novak Date: Tue, 7 Jan 2025 20:54:55 +0800 Subject: [PATCH] feat: support RN 0.77 (#609) * feat: support RN 0.77 * Update RNCAndroidDialogPickerManagerDelegate.java * Update RNCAndroidDropdownPickerManagerDelegate.java --- .../viewmanagers/RNCAndroidDialogPickerManagerDelegate.java | 5 +++-- .../RNCAndroidDropdownPickerManagerDelegate.java | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/android/src/paper/java/com/facebook/react/viewmanagers/RNCAndroidDialogPickerManagerDelegate.java b/android/src/paper/java/com/facebook/react/viewmanagers/RNCAndroidDialogPickerManagerDelegate.java index ec47a941ac..281abe9efb 100644 --- a/android/src/paper/java/com/facebook/react/viewmanagers/RNCAndroidDialogPickerManagerDelegate.java +++ b/android/src/paper/java/com/facebook/react/viewmanagers/RNCAndroidDialogPickerManagerDelegate.java @@ -13,10 +13,11 @@ import androidx.annotation.Nullable; import com.facebook.react.bridge.ColorPropConverter; import com.facebook.react.bridge.ReadableArray; +import com.facebook.react.uimanager.BaseViewManager; +import com.facebook.react.uimanager.LayoutShadowNode; import com.facebook.react.uimanager.BaseViewManagerDelegate; -import com.facebook.react.uimanager.BaseViewManagerInterface; -public class RNCAndroidDialogPickerManagerDelegate & RNCAndroidDialogPickerManagerInterface> extends BaseViewManagerDelegate { +public class RNCAndroidDialogPickerManagerDelegate & RNCAndroidDialogPickerManagerInterface> extends BaseViewManagerDelegate { public RNCAndroidDialogPickerManagerDelegate(U viewManager) { super(viewManager); } diff --git a/android/src/paper/java/com/facebook/react/viewmanagers/RNCAndroidDropdownPickerManagerDelegate.java b/android/src/paper/java/com/facebook/react/viewmanagers/RNCAndroidDropdownPickerManagerDelegate.java index 4ee8df37f1..a3cfa4958b 100644 --- a/android/src/paper/java/com/facebook/react/viewmanagers/RNCAndroidDropdownPickerManagerDelegate.java +++ b/android/src/paper/java/com/facebook/react/viewmanagers/RNCAndroidDropdownPickerManagerDelegate.java @@ -13,10 +13,11 @@ import androidx.annotation.Nullable; import com.facebook.react.bridge.ColorPropConverter; import com.facebook.react.bridge.ReadableArray; +import com.facebook.react.uimanager.BaseViewManager; +import com.facebook.react.uimanager.LayoutShadowNode; import com.facebook.react.uimanager.BaseViewManagerDelegate; -import com.facebook.react.uimanager.BaseViewManagerInterface; -public class RNCAndroidDropdownPickerManagerDelegate & RNCAndroidDropdownPickerManagerInterface> extends BaseViewManagerDelegate { +public class RNCAndroidDropdownPickerManagerDelegate & RNCAndroidDropdownPickerManagerInterface> extends BaseViewManagerDelegate { public RNCAndroidDropdownPickerManagerDelegate(U viewManager) { super(viewManager); }