<How to avoid duplicate checkboxes in my LazyVerti...
# stackoverflow
r
How to avoid duplicate checkboxes in my LazyVerticalGrid in Jetpack Compose? I'm trying to create a Bug Report screen. The user must enter a description of the Bug and can select various checkboxes. I then retrieve that information to write an email with it. My problem is that the checkboxes are recreated when text is entered into the TextField or when the screen is rotated. Why does this happen and how can I avoid it? BugItems are fixed elements that I take in a resource array. I have created two data classes to represent the Bug Report. data class BugReport( val...