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].
fun rotaryInputScroll() {
composeTestRule.onNodeWithTag("myComponent").performRotaryScrollInput {
rotateToScrollVertically(3.0f)
rotateToScrollVertically(10.0f)
rotateToScrollVertically(2.0f)
}
}