Open Trace95 opened 10 months ago
Can i look into it?? , maybe a problem of state hoisting.
In this bug, whenever toggling one of the options in interests tab, it is leading with what happen when we click to toggle it. Here, every time we toggle the option, it adds or removes the followedTopicId, resulting the followableTopicList in updating everytime, making LazyColumn to recompose every time and so whole UI is getting recompositions. To Fix this either we have to change
Inorder to follow these steps, a lot of code changes needed.
Open for any discussion, suggestion or new ideas to follow up this issue. Correct me if i am wrong anywhere.
Is there an existing issue for this?
Is there a StackOverflow question about this issue?
What happened?
When performing any sort of UI action that results in a state change, for example, toggling one of the options in the interests tab, the entire UI is recomposed even though only one item in the list needs to be recomposed. You can reproduce this easily by checking the layout inspector with the show recompositions toggle on and toggling one of the options in the interests tab.
Relevant logcat output
No response
Code of Conduct