Skip to content
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

fix: new arch android interface #654

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

draggie
Copy link
Contributor

@draggie draggie commented Oct 8, 2024

Summary:

fixes #652
Resolved incompatible interface generation for the codegen source.
Tmp patch for invalid height calculation

Test Plan:

@draggie draggie self-assigned this Oct 8, 2024
Copy link

@vonovak vonovak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't run the code but it looks okay to me, just added a comment about using doubles.

re "Tmp patch for invalid height calculation" in the description: that doesn't seem to be included

@@ -125,12 +125,12 @@ public void setValue(ReactSlider view, float value) {
ReactSliderManagerImpl.setValue(view, value);
}

@ReactProp(name = "minimumValue", defaultFloat = 0f)
@ReactProp(name = "minimumValue", defaultDouble = 0f)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@ReactProp(name = "minimumValue", defaultDouble = 0f)
@ReactProp(name = "minimumValue", defaultDouble = 0d)

applies to other places too

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.

slider has 0 height on Android with new architecture enabled
2 participants