Hi, Are there any samples for creating idlingresou...
# compose
r
Hi, Are there any samples for creating idlingresources? What is the replacement of countingidling resources from espresso. Thanks
a
Generally I use kotlinx.coroutines things to await completion of something under test, but do you have an example of your specific use case?
r
I am using a outlinedtextfield as a search bar in an existing constraint layout with tab( view pager).. i may need to replace the counter idling resource in espresso to compose idling resource
a
What are you counting with an idling resource and when? Can you show your existing view code and what you've tried so far with compose?
r
Old code:
Old code as increments and decrement of counter idling resource
p
Compose Test still uses Espresso so you can use idling resources in compose the same way you would with Views