-
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
refactor: FrescoBasedTextInlineImageSpan #50532
base: main
Are you sure you want to change the base?
refactor: FrescoBasedTextInlineImageSpan #50532
Conversation
Hi @mateoguzmana, I'm mostly done with the migration but facing some error with the Line 47 in 3d7db8b
But this line is erroring out when trying to test with Line 133 in 3d7db8b
I'm not sure about the usage of that class' types, as the java variant didn't specifically define those. Could you please help a little? Thank you so much! |
...main/java/com/facebook/react/views/text/frescosupport/FrescoBasedReactTextInlineImageSpan.kt
Outdated
Show resolved
Hide resolved
13bf39a
to
e43f277
Compare
45e9048
to
86d7e7c
Compare
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 migrating this file! One small thing that would be nice to check about the null safety
...main/java/com/facebook/react/views/text/frescosupport/FrescoBasedReactTextInlineImageSpan.kt
Outdated
Show resolved
Hide resolved
...main/java/com/facebook/react/views/text/frescosupport/FrescoBasedReactTextInlineImageSpan.kt
Outdated
Show resolved
Hide resolved
...main/java/com/facebook/react/views/text/frescosupport/FrescoBasedReactTextInlineImageSpan.kt
Outdated
Show resolved
Hide resolved
...main/java/com/facebook/react/views/text/frescosupport/FrescoBasedReactTextInlineImageSpan.kt
Outdated
Show resolved
Hide resolved
...main/java/com/facebook/react/views/text/frescosupport/FrescoBasedReactTextInlineImageSpan.kt
Outdated
Show resolved
Hide resolved
Co-authored-by: Mateo Guzmán <[email protected]>
...main/java/com/facebook/react/views/text/frescosupport/FrescoBasedReactTextInlineImageSpan.kt
Outdated
Show resolved
Hide resolved
Hi @mateoguzmana @mdvacca gentle nudge. Is there anything else you need from my side? Thank you so much! |
@gouravkhunger, nothing else is needed from your side for now. Once the second reviewer has availability, this will be imported and merged if there are no further things to fix |
Summary:
I've migrated
FrescoBasedTextInlineImageSpan.java
to kotlin. Reference #50513.Changelog:
[ANDROID] [CHANGED] - Refactor class
FrescoBasedTextInlineImageSpan
from Java to Kotlin.Test Plan:
Tested the RN tester app with
yarn android
on both new and old architecture.