Skip to content

fix(android): remove autobind from view configuration as we handle it automatically#35

Merged
HayesGordon merged 1 commit intomainfrom
fix/android-handle-autobind-manually
Nov 21, 2025
Merged

fix(android): remove autobind from view configuration as we handle it automatically#35
HayesGordon merged 1 commit intomainfrom
fix/android-handle-autobind-manually

Conversation

@HayesGordon
Copy link
Copy Markdown
Contributor

In React Native, we manually manage data binding and do not rely on Android's auto-bind property, which throws an error if the file does not have data binding.

We already have the capability to handle all the correct cases in applyDataBinding based on defaults and user-provided settings.

Before this change, the view would propagate an error and we would not handle the correct default behaviour: DataBindMode.Auto (default), which should not do any data binding if the file does not have any available. Can manually override by setting DataBindMode.None if you don't want any bindings.

We handle all of this from this PR, but forgot to remove the view prop.

CleanShot.2025-11-21.at.11.14.50.mp4

@HayesGordon HayesGordon merged commit 5c9c2eb into main Nov 21, 2025
5 checks passed
@HayesGordon HayesGordon deleted the fix/android-handle-autobind-manually branch December 9, 2025 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants