I just want to ask about good coding practice in C...
# compose
m
I just want to ask about good coding practice in Compose. I am trying to make a crossword application, with a bunch of different features like automatically selecting the next square after entering a letter, displaying clues, zooming, scrolling, etc. The way I wrote it, it turned out to be a huge composable function, mostly because of manipulating state in event handlers. I eventually grouped all the separate states into a single custom state, with methods exposed that can change them. So I wonder if I have the right approach here. What constitutes good practice regarding the size of the composable functions? I would love to hear your thoughts and advice. (Sorry if I wasn't not super clear about the terminology/wording of my post. I am pretty new to Jetpack Compose and Android programming, so let me know if I need to clarify anything).