Kirill Grouchnikov
11/23/2020, 5:10 PMRadioGroup
or ToggleGroup
class in the core Compose for this? Same for segmented toggle buttons (like controlling text alignment, e.g.)jim
11/23/2020, 5:16 PMKirill Grouchnikov
11/23/2020, 5:19 PMjim
11/23/2020, 5:24 PMtext = internationalizeFromEnglish(text)
, assuming you use the english variant as your internationalization keys (which has benefits, like being able to search the codebase for english strings to locate the relevant pieces of code based on a UI). Of course, this has drawbacks too, so it is perfectly understandable if you wanted to replace 118 with an integer or enum, but either way, a complex data structure isn't necessary unless you want one.Kirill Grouchnikov
11/23/2020, 5:37 PMjim
11/23/2020, 5:38 PM