Espresso does most of the heavy lifting for you when it comes to detecting when the UI is idle. But if you're using any custom background threads or scheduling for long running jobs, you might need to add and manage an IdlingResource to tell Espresso when your app is busy and when it's idle.
Watch more episodes of Android Testing Patterns here:
Subscribe to the Android Developers channel at
Watch more episodes of Android Testing Patterns here:
Subscribe to the Android Developers channel at
- Category
- Phone
Sign in or sign up to post comments.
Be the first to comment
Up Next
-
Android Performance Patterns: Understanding VSYNC
by lily 274 Views -
Manage your resource's efforts with Assignments view
by ava 90 Views -
Android Performance Patterns: Tool - Memory Monitor
by lily 272 Views -
Android Performance Patterns: Garbage Collection in Android
by lily 267 Views -
Android Performance Patterns: Battery Performance 101
by lily 354 Views -
UI testing with Espresso - Android Testing Patterns #2
by lily 348 Views -
Android Testing Support - Android Testing Patterns #1
by lily 336 Views -
Android Performance Patterns: Android UI and the GPU
by lily 298 Views -
LEGO Fortnite - Where to Find Every Resource
by ava 73 Views -
Android Performance Patterns: Understanding Overdraw
by lily 285 Views -
Tools and patterns for scalable Android app testing
by ava 69 Views -
Android Performance Patterns: Understanding Battery Drain on Android
by lily 332 Views -
Android Performance Patterns: Why 60fps?
by lily 266 Views -
Dan Andrews: "NASA at Google: Resource Prospector" | Talks at Google
by lily 590 Views -
Google for Devs free resource? Yes, please. ????
by ava 23 Views -
Android Performance Patterns: Battery Drain and WakeLocks
by lily 322 Views -
AdapterViews and Espresso - Android Testing Patterns #3
by lily 245 Views -
Android Performance Patterns: Rendering Performance 101
by lily 331 Views -
Android Performance Patterns: Invalidations, Layouts, and Performance
by lily 323 Views -
Android Design in Action: Navigation Anti-Patterns
by lily 455 Views -
Android Performance Patterns: Overdraw, Cliprect, QuickReject
by lily 244 Views -
Building a Responsive UI in Android (Android Development Patterns)
by lily 338 Views
Add to playlist
Sorry, only registred users can create playlists.




