rotaryInputScroll
fun rotaryInputScroll() {
composeTestRule.onNodeWithTag("myComponent").performRotaryScrollInput {
rotateToScrollVertically(3.0f)
rotateToScrollVertically(10.0f)
rotateToScrollVertically(2.0f)
}
}The receiver scope of rotary input injection lambda from performRotaryScrollInput.
Compose Multiplatform
Ship iOS, desktop, and web apps with Compose
RevenueCat
Add subscriptions to your apps in minutes
fun rotaryInputScroll() {
composeTestRule.onNodeWithTag("myComponent").performRotaryScrollInput {
rotateToScrollVertically(3.0f)
rotateToScrollVertically(10.0f)
rotateToScrollVertically(2.0f)
}
}Last updated: