Skip to content

refactor: migrate ReactTextView to kotlin#54219

Closed
FouadMagdy01 wants to merge 3 commits into
react:mainfrom
FouadMagdy01:migrate-text-view-to-kotlin
Closed

refactor: migrate ReactTextView to kotlin#54219
FouadMagdy01 wants to merge 3 commits into
react:mainfrom
FouadMagdy01:migrate-text-view-to-kotlin

Conversation

@FouadMagdy01

Copy link
Copy Markdown
Contributor

Summary:

In order to align with react-native's roadmap to migrate android codebase to kotlin instead of java
i made this migration to the TextView,The only remaining view to migrate to kotlin as most of other views have been migrated lately

Removed ReactTextView.java
Added ReactTextView.kt

Changelog:

[ANDROID] [CHANGED] - Migrated ReactTextView from Java to Kotlin

Pick one each for the category and type tags:
[ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message
For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

Test Plan:

Run yarn android to run the RNTester app and navigate to the Text showcase screen to verify everything is working correctly.

Tested all text features including:

  • Basic text rendering
  • Multi-line text
  • Text alignment
  • Font styling (size, family, color)
  • Text truncation with ellipsis
  • Inline images
  • Selectable text
  • Linkify
  • Nested text
  • RTL support
  • Touch events on text spans

All functionality works exactly as before the migration.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 21, 2025
@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Oct 21, 2025
@FouadMagdy01 FouadMagdy01 reopened this Oct 21, 2025
@FouadMagdy01

Copy link
Copy Markdown
Contributor Author

Hey @cipolleschi , Can you please take a look on that ?

@react-native-bot

Copy link
Copy Markdown
Collaborator

This PR is stale because it has been open for 180 days with no activity. It will be closed in 7 days unless you comment on it or remove the "Stale" label.

@react-native-bot react-native-bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Apr 20, 2026
@react-native-bot

Copy link
Copy Markdown
Collaborator

This PR was closed because it has been stalled for 7 days with no activity.

@react-native-bot react-native-bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants