Status Update
Comments
il...@google.com <il...@google.com> #2
To use
The issue is happening because, starting from LocalLifecycleOwner
has been moved from androidx.compose.ui
to lifecycle-runtime-compose
, as outlined in their respective release notes. For compatibility reasons, you must update both dependencies.
For context, note these changes were made to enable the utilization of its Compose-based helper APIs beyond Compose UI (such as in
If the issue persists even after updating your Compose UI, please let us know.
Edit: please see
ap...@google.com <ap...@google.com> #3
If this change has made both libraries version dependent, it seems that guide them to the release note so that users will not experience difficulties :)
il...@google.com <il...@google.com> #4
lifecycle 2.8.0 is now stable but compose UI 1.7.0 is still in beta.
Description
Version used: 1.0.0-alpha11
When debugging
<argument android:name="innerData" app:argType="com.example.sandbox.OutterClass$InnerClass"/>
The dollar signs indicating a nested class are not transformed into a period in the generated code, leading to invalid code such as:
OutterClass$InnerClass innerData = (OutterClass$InnerClass) arguments.get("innerData");
Which should be
OutterClass.InnerClass innerData = (OutterClass.InnerClass) arguments.get("innerData");