Skip to content

Provide default implementation of ViewManager#getDelegate#48664

Closed
javache wants to merge 2 commits into
facebook:mainfrom
javache:export-D68120420
Closed

Provide default implementation of ViewManager#getDelegate#48664
javache wants to merge 2 commits into
facebook:mainfrom
javache:export-D68120420

Conversation

@javache
Copy link
Copy Markdown
Member

@javache javache commented Jan 14, 2025

Summary:
Simplify ViewManager base-class by making ViewManager's delegate non-nullable and using a single path for updating properties.

The ViewManagerDelegate API can map back to the original ViewManagerSetter API transparently, allowing us to remove the codepath from ViewManagerPropertyUpdater.

Reviewed By: rshest

Changelog: [Android][Removed] ViewManagerPropertyUpdater.updateProps is deprected, use the related ViewManager APIs instead

Differential Revision: D68120420

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jan 14, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D68120420

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D68120420

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D68120420

…8664)

Summary:
Pull Request resolved: facebook#48664

Simplify ViewManager base-class by making `ViewManager`'s delegate non-nullable and using a single path for updating properties.

The ViewManagerDelegate API can map back to the original ViewManagerSetter API transparently, allowing us to remove the codepath from `ViewManagerPropertyUpdater`.

Reviewed By: mdvacca, rshest

Differential Revision: D68120420
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D68120420

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jan 15, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in a18bc58.

@javache javache deleted the export-D68120420 branch January 15, 2025 14:24
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. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants