-
Notifications
You must be signed in to change notification settings - Fork 24.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate UiThreadUtil to Kotlin #50536
Conversation
@cortinico @mateoguzmana @mdvacca |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I few small things to check
packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/UiThreadUtil.kt
Outdated
Show resolved
Hide resolved
packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/UiThreadUtil.kt
Outdated
Show resolved
Hide resolved
packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/UiThreadUtil.kt
Outdated
Show resolved
Hide resolved
packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/UiThreadUtil.kt
Outdated
Show resolved
Hide resolved
@mateoguzmana Thanks for the review. I have fixed the comments |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing the feedback! noticed two more small things
packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/UiThreadUtil.kt
Outdated
Show resolved
Hide resolved
packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/UiThreadUtil.kt
Outdated
Show resolved
Hide resolved
Done @mateoguzmana . Thanks. |
@arushikesarwani94 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/UiThreadUtil.kt
Outdated
Show resolved
Hide resolved
@arushikesarwani94 merged this pull request in 1033584. |
This pull request was successfully merged by @riteshshukla04 in 1033584 When will my fix make it into a release? | How to file a pick request? |
Its merged 🎉. @mateoguzmana If you have more files , please let me know |
Summary:
This PR aims to migrate UiThreadUtil from Java to kotlin as part of #50513
Changelog:
[ANDROID][CHANGED]Migrate UiThreadUtil to Kotlin
Test Plan:
Tested on RN tester with both new and old arch