I want to select the first item in a ListView with Expresso. I can't target by text because the list always changes. As well, all items in the list have the same ID and are not unique. I have attached a screenshot of how this view looks. How do I target and click on the item in the first position with expresso?
I have tried
onView(withId(R.id.tv_default_spinner)).performClick() but will get the exception that there are multiple items with the same id.