mercredi 10 août 2016

Get text of TextView inside RecyclerView - android instrumental test

I have a RecyclerView with items from item.xml. In item.xml i have a TextView.

I'm working on creating an instrumental test and wondering how could I get the text from that textview from the recyclerView so that I can do some extra work with it.

Using http://ift.tt/2aRVUao I managed to check if the text that I would expect is where I would expect it to be, but I need to get the value as well.

Aucun commentaire:

Enregistrer un commentaire