google-developer-training / android-basics-kotlin-affirmations-app-solution

Apache License 2.0
58 stars 49 forks source link

Android Basics issue: #117

Closed Mejihalimelhik closed 10 months ago

Mejihalimelhik commented 2 years ago

https://developer.android.com/codelabs/android-basics-kotlin-affirmations-test-lists-and-adapters

step 7

this code won't work

onView(withId(R.id.recycler_view)).perform( RecyclerViewActions .scrollTo( withText(R.string.affirmation10) ) )

unless the textview is accessed by
hasDescendant( withText(R.string.affirmation10) )

asten77 commented 2 years ago

Confirmed, I spent a long time trying to figure this out.