Skip to content

Commit

Permalink
Update javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
isaac-udy committed May 1, 2024
1 parent f3c91f2 commit 7af597f
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ public fun OverrideNavigationAnimations(
}
}

/**
* Override the navigation animations for a particular destination, and also provide a content block that will be animated
* using AnimatedVisibility, providing a AnimatedVisibilityScope which can be used to animate different parts of the screen
* at different times, or to use in shared element transitions (when that is released in Compose).
*
* See also [OverrideNavigationAnimations] for a simpler version of this function that does not provide the AnimatedVisibilityScope,
* which can be used just to override the navigation animations as a side effect
*/
@OptIn(ExperimentalAnimationApi::class)
@Composable
@AdvancedEnroApi
Expand Down

0 comments on commit 7af597f

Please sign in to comment.