In Espresso, how to avoid AmbiguousViewMatcherException when multiple views match

前端 未结 9 1471
情深已故
情深已故 2020-11-30 03:16

Having gridView which has some images. The gridView\'s cell comes out from same predefined layout, which has same id and desc.

R.id.item_image == 2131

9条回答
  •  佛祖请我去吃肉
    2020-11-30 03:31

    At latest * Run -> Record Espresso Test

    By Click on the Same ID View with different position generate different Code for them so try it.

    Its Actually Resolve these problem.

提交回复
热议问题