Fixed
Status Update
Comments
il...@google.com <il...@google.com>
ap...@google.com <ap...@google.com> #2
Still crashing with Compose 1.7.4.
I also tried moving sharedElement to BoxWithConstraints (rather than in its content), but did not help.
So the layout hierarchy looks like this (with more details and with "..." I replaced series of "normal" layouts):
NavHost -> ... -> AnimatedVisibility -> ... -> BoxWithConstraints with sharedElement -> some content
\> ... -> AnimatedVisibility -> ... -> LazyList -> ... -> Animated Visibility -> Selection container -> BoxWithConstraints with sharedElement -> some content
Any ideas?
I also tried moving sharedElement to BoxWithConstraints (rather than in its content), but did not help.
So the layout hierarchy looks like this (with more details and with "..." I replaced series of "normal" layouts):
NavHost -> ... -> AnimatedVisibility -> ... -> BoxWithConstraints with sharedElement -> some content
\> ... -> AnimatedVisibility -> ... -> LazyList -> ... -> Animated Visibility -> Selection container -> BoxWithConstraints with sharedElement -> some content
Any ideas?
il...@google.com <il...@google.com> #3
In your BoxWithConstraints
do you do any conditional composition? Things like:
if (constraintsExceedsCertainThreshold) composeSomeContent() else someOtherContent()
Description
Hi, I have a project that uses a cvs repository (don't judge!).
This means every folder has a CVS subfolder--including res/navigation.
When I add [apply plugin: "androidx.navigation.safeargs"] to my build.gradle, I get the following:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:generateSafeArgsDebug'.
> java.io.FileNotFoundException: (mypath)\app\src\main\res\navigation\CVS (Access is denied)
Thanks for any insights. Note that if I remove the CVS folder, it builds OK. If I then add an empty folder "blah", it fails again with res\navigation\blah.