-
Notifications
You must be signed in to change notification settings - Fork 320
Migrate BooleanChoiceViewHolderFactory, RadioGroupViewHolderFactory, CheckBoxGroupViewHolderFactory to compose #2905
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
base: master
Are you sure you want to change the base?
Conversation
0c680a4 to
b832190
Compare
4e3050b to
db653e5
Compare
| } | ||
| ChoiceOrientationTypes.VERTICAL -> { | ||
| Column( | ||
| modifier = Modifier.fillMaxWidth(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| modifier = Modifier.fillMaxWidth(), | |
| modifier = Modifier.selectableGroup().fillMaxWidth(), |
| } | ||
| ChoiceOrientationTypes.VERTICAL -> { | ||
| Column( | ||
| modifier = Modifier.fillMaxWidth(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| modifier = Modifier.fillMaxWidth(), | |
| modifier = Modifier.selectableGroup().fillMaxWidth(), |
| import kotlinx.coroutines.launch | ||
| import org.hl7.fhir.r4.model.QuestionnaireResponse | ||
|
|
||
| internal object CheckBoxGroupComposeViewHolderFactory : QuestionnaireItemComposeViewHolderFactory { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there seems to be 2 factories for checkbox?
IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).
Fixes #2859
Description
Clear and concise code change description.
Alternative(s) considered
Have you considered any alternatives? And if so, why have you chosen the approach in this PR?
Type
Choose one: (Bug fix | Feature | Documentation | Testing | Code health | Builds | Releases | Other)
Screenshots (if applicable)
Checklist
./gradlew spotlessApplyand./gradlew spotlessCheckto check my code follows the style guide of this project../gradlew checkand./gradlew connectedCheckto test my changes locally.