Feature Request P3
Status Update
Comments
ga...@google.com <ga...@google.com> #2
I tried adding screenshotTestImplementation(libs.androidx.window)
but it didn't fix it.
No update yet.
I tried adding screenshotTestImplementation(libs.androidx.window)
but it didn't fix it.
Description
Looking at using the Compose Preview Screenshot functionality, a limitation that might block me adopting is the lack of interaction testing.
While this is by design, the actual common usecase is fairly minimal. And potentially would be a useful preview feature.
Example
Feature request
The workaround is to hoist the List State out of the composable, however this has some downsides. For Wear, the ScalingLazyColumn state may include some calculated values for initial position, and so the preview would duplicate this logic.
This overall feature is critical on Wear given that clipping of content at the top or bottom of the screen is enough to reject an app from the Play Store review.