hi, i have just upgraded my android application to use kotlin
2.2.0
and compose bom
2025.06.01
my application has developed an issue where single items within a LazyColumn are not being recomposed e.g. when selected
or selection is toggled, basically any list item that is affected by any user interaction now does not recompose to reflect the user interaction.
when i downgrade kotlin to
i agree, kotlin 2.2.0 must have changed compose related defaults somehow,
i did try disabling the ones mentioned in your link however that did not fix my issue
2.2.0 must be doing "something else" with compose that has not been advertised!
d
dorche
07/09/2025, 7:58 AM
Can you provide a minimal example of the issue? Do you mean that the UI isn't updated or did you depend on recomposition to do something hackier?
t
Tower Guidev2
07/09/2025, 9:54 AM
i cannot supply any code that recreates the issue as its my organisations policy to not share!
we have developed a global Compose "Adapter" that simplifies developing compose lazy lists
the adapter supports single and multiple selection, as well as toggling selection
it all worked fine until upgrading to kotlin 2.2.0
we werent attempting anything "Hacky" 😉
d
dorche
07/09/2025, 12:25 PM
Right but if the issue was a general one that everyone was seeing with 2.2.0 then it would have
a) been fixed
b) have tons of reports from people
So your "global compose adapter" must be doing something that other people generally don't do in their code and without an example that reproduces it we can't help you.
âž• 1
t
Tower Guidev2
07/09/2025, 12:26 PM
agreed, ill struggle on alone then as i cannot share code example 😞
thanks for your time 🙌