Closed Riksu9000 closed 1 year ago
How does this compare against displayapp/screens/CheckboxList
?
Oops, I forgot about that. I should take a look at that soon.
The code looks cleaner to me from a quick look and I cannot think of a settings screen right now where what you showed with the refactored screen would not be enough.
This will reduce duplication greatly once applied to other settings screens as well.
The checkbox object array is stored in the class creating the checkbox screen. This is so there can be any number of checkboxes, without using templates.
Do you have ideas for a better name for this class?
Let me know what you think about this approach.