jeudi 13 juin 2019

Espresso:Test swipe to delete item of Recyclerview inside ViewPager

I want to swipe left to delete, but its triggering viewpager swipe action , How to resolve this?

 onView(withId(R.id.orders)).perform(
        RecyclerViewActions.actionOnItemAtPosition<ProductItemViewHolder>(
            1,
            swipeLeft()
        )
    )

Aucun commentaire:

Enregistrer un commentaire