Skip to content

Add constructors to form control bindings#47

Merged
colemancda merged 3 commits into
masterfrom
feature/form-control-bindings
Jul 22, 2026
Merged

Add constructors to form control bindings#47
colemancda merged 3 commits into
masterfrom
feature/form-control-bindings

Conversation

@colemancda

Copy link
Copy Markdown
Member

SeekBar, EditText, and Spinner declared no constructors, so none of them could be instantiated from Swift. Their class hierarchies are already correct — this only adds the four standard view constructors to each, along with the AndroidContent/AndroidUtil/AndroidView imports they require.

Same shape as the ProgressBar fix in #45, and needed for the same reason: rendering SwiftUI's Slider, TextField, and Picker onto their native counterparts.

Verification

swift build --swift-sdk aarch64-unknown-linux-android28 completes on this branch.

Consumed downstream in AndroidSwiftUI, which renders Slider, TextField, and Picker.

@colemancda
colemancda merged commit 57bbd4d into master Jul 22, 2026
4 checks passed
@colemancda
colemancda deleted the feature/form-control-bindings branch July 22, 2026 16:19
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.

1 participant