1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119<!DOCTYPE html> 120<html devsite> 121<head> 122 123 124 <meta name="top_category" value="develop" /> 125 126 <meta name="subcategory" value="reference" /> 127 128 129 <meta name="book_path" value="/reference/android/support/test/_book.yaml" /> 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145<title>IdlingResource.ResourceCallback</title> 146 147 148</head> 149 150<body class="gc-documentation develop reference api apilevel-"> 151<div id="doc-api-level" class="" style="display:none"></div> 152 153 154 155 156<div id="naMessage"></div> 157 158<div id="api-info-block"> 159<div class="api-level"> 160 161 162 163 164</div> 165 166 167 168 169<div class="sum-details-links"> 170 171</div><!-- end sum-details-links --> 172</div><!-- end api-info-block --> 173 174<div class="api apilevel-" id="jd-content"> 175 176<!-- ======== START OF CLASS DATA ======== --> 177 178<h1 class="api-title">IdlingResource.ResourceCallback</h1> 179<p> 180<code class="api-signature"> 181 public 182 static 183 184 185 interface 186 IdlingResource.ResourceCallback 187</code> 188<br> 189 190 191<code class="api-signature"> 192 193 194 195</code> 196 197</p><table class="jd-inheritance-table"> 198 199 200 <tr> 201 202 <td colspan="1" class="jd-inheritance-class-cell">android.support.test.espresso.IdlingResource.ResourceCallback 203 </td> 204 </tr> 205 206 207</table> 208 209 210 211 212<br><hr> 213 214 215 <p>Registered by an <code><a href="/reference/android/support/test/espresso/IdlingResource.html">IdlingResource</a></code> to notify Espresso of a transition to idle. 216</p> 217 218 219 220 221 222 223 224<h2 class="api-section">Summary</h2> 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252<!-- ========== METHOD SUMMARY =========== --> 253<table id="pubmethods" class="responsive methods"> 254<tr><th colspan="2"><h3>Public methods</h3></th></tr> 255 256 257 258 259 <tr class="api apilevel-" > 260 261 262 <td><code> 263 abstract 264 265 266 267 268 void</code> 269 </td> 270 271 <td width="100%"> 272 <code> 273 <a href="/reference/android/support/test/espresso/IdlingResource.ResourceCallback.html#onTransitionToIdle()">onTransitionToIdle</a>() 274 </code> 275 276 <p>Called when the resource goes from busy to idle. 277 278 279</p> 280 281 </td> 282 </tr> 283 284 285 286</table> 287 288 289 290 291 292 293 294 295<!-- XML Attributes --> 296 297 298<!-- Enum Values --> 299 300 301<!-- Constants --> 302 303 304<!-- Fields --> 305 306 307<!-- Public ctors --> 308 309 310 311<!-- ========= CONSTRUCTOR DETAIL ======== --> 312<!-- Protected ctors --> 313 314 315 316<!-- ========= METHOD DETAIL ======== --> 317<!-- Public methdos --> 318 319<h2 class="api-section">Public methods</h2> 320 321 322 323<A NAME="onTransitionToIdle()"></A> 324 325<div class="api apilevel-"> 326 <h3 class="api-name">onTransitionToIdle</h3> 327 <div class="api-level"> 328 <div></div> 329 330 331 332 </div> 333<pre class="api-signature no-pretty-print"> 334void onTransitionToIdle ()</pre> 335 336 337 338 339 <p>Called when the resource goes from busy to idle. 340</p> 341 342</div> 343 344 345 346 347 348<!-- ========= METHOD DETAIL ======== --> 349 350 351 352<!-- ========= END OF CLASS DATA ========= --> 353 354</div><!-- end jd-content --> 355 356 357 358<div class="data-reference-resources-wrapper"> 359 360 <ul data-reference-resources> 361 362 363 <li><h2>Interfaces</h2> 364 <ul> 365 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/BaseLayerComponent.html">BaseLayerComponent</a></li> 366 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/EspressoException.html">EspressoException</a></li> 367 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/FailureHandler.html">FailureHandler</a></li> 368 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingResource.html">IdlingResource</a></li> 369 <li class="selected api apilevel-"><a href="/reference/android/support/test/espresso/IdlingResource.ResourceCallback.html">IdlingResource.ResourceCallback</a></li> 370 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/UiController.html">UiController</a></li> 371 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewAction.html">ViewAction</a></li> 372 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewAssertion.html">ViewAssertion</a></li> 373 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewFinder.html">ViewFinder</a></li> 374 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewInteractionComponent.html">ViewInteractionComponent</a></li> 375 </ul> 376 </li> 377 378 <li><h2>Classes</h2> 379 <ul> 380 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/AmbiguousViewMatcherException.Builder.html">AmbiguousViewMatcherException.Builder</a></li> 381 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/DataInteraction.html">DataInteraction</a></li> 382 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/Espresso.html">Espresso</a></li> 383 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/GraphHolder.html">GraphHolder</a></li> 384 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingPolicies.html">IdlingPolicies</a></li> 385 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingPolicy.html">IdlingPolicy</a></li> 386 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoMatchingViewException.Builder.html">NoMatchingViewException.Builder</a></li> 387 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/PerformException.Builder.html">PerformException.Builder</a></li> 388 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/Root.html">Root</a></li> 389 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/Root.Builder.html">Root.Builder</a></li> 390 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/ViewInteraction.html">ViewInteraction</a></li> 391 </ul> 392 </li> 393 394 395 <li><h2>Exceptions</h2> 396 <ul> 397 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/AmbiguousViewMatcherException.html">AmbiguousViewMatcherException</a></li> 398 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/AppNotIdleException.html">AppNotIdleException</a></li> 399 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/IdlingResourceTimeoutException.html">IdlingResourceTimeoutException</a></li> 400 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/InjectEventSecurityException.html">InjectEventSecurityException</a></li> 401 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoActivityResumedException.html">NoActivityResumedException</a></li> 402 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoMatchingRootException.html">NoMatchingRootException</a></li> 403 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/NoMatchingViewException.html">NoMatchingViewException</a></li> 404 <li class="api apilevel-"><a href="/reference/android/support/test/espresso/PerformException.html">PerformException</a></li> 405 </ul> 406 </li> 407 408 </ul> 409 410</div> 411 412 413 414</body> 415</html> 416