Tried to use collectAsStateWithLifecycle() in commonMain as shown in @Sebastian Aigner's talk, but facing this issue with jetbrain's lifecycle version 2.8.0, this issue is solved in androidx's lifecycle version 2.8.2, is there a way to solve this without any work around ?
a
alvr
06/21/2024, 7:08 AM
You need a workaround or wait until Compose 1.7.0 is released. You can create a new extension function with: