-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
offsetMillis
in Compose
#627
Labels
enhancement
New feature or request
Comments
For some reason I expected this to work but it doesn't: fun Paparazzi.snapshot(
name: String? = null,
offsetMillis: Long = 0L,
composable: @Composable () -> Unit,
) {
val hostView = ComposeView(context)
hostView.setContent(composable)
snapshot(hostView, name, offsetMillis)
}
|
I cannot get animations to work either in compose (showing snackbars). It works when using @Preview in interactive mode. |
@jrodbx Any updates on this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A function that includes
offsetMillis
is missing for Compose.It should be great if it could be added, and instead of using a
Long
it usesDuration
.snapshot
functions can be mixed with theView
one. Maybe the Gradle plugin can take an enum so:This would allow to Paparazzi Gradle plugin to only apply one library if the consumer is not using both systems, and that can enable splitting the Paparazzi
snapshot
functions into different modules, per system. or both.The text was updated successfully, but these errors were encountered: