Skip to content

Commit

Permalink
Wait for layout before continuing
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensousa committed Jul 23, 2024
1 parent 6a136e1 commit 4cfcb2b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import com.rubensousa.dpadrecyclerview.test.TestLayoutConfiguration
import com.rubensousa.dpadrecyclerview.test.helpers.assertFocusAndSelection
import com.rubensousa.dpadrecyclerview.test.helpers.onRecyclerView
import com.rubensousa.dpadrecyclerview.test.helpers.waitForIdleScrollState
import com.rubensousa.dpadrecyclerview.test.helpers.waitForLayout
import com.rubensousa.dpadrecyclerview.test.tests.DpadRecyclerViewTest
import com.rubensousa.dpadrecyclerview.testing.KeyEvents
import com.rubensousa.dpadrecyclerview.testing.R
Expand Down Expand Up @@ -109,5 +110,6 @@ class PendingAlignmentTest : DpadRecyclerViewTest() {
}
})
}
waitForLayout()
}
}

0 comments on commit 4cfcb2b

Please sign in to comment.