What kind of issues are you concerned about? what do you feel is wrong with what you’ve written here? Have you experienced some issue already or just guessing?
e
efemoney
05/20/2023, 11:47 PM
One issue I see here is that you recreate the enum array on every recomposition by calling
values()
. Not a big issue, just something to note about how Enum.values works