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>AdapterDataLoaderAction</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
170
171
172
173
174
175
176
177
178
179
180
181
182
183<div class="sum-details-links">
184
185Summary:
186
187
188
189
190
191
192
193
194
195  <a href="#pubctors">Ctors</a>
196
197
198
199
200  &#124; <a href="#pubmethods">Methods</a>
201
202
203
204
205  &#124; <a href="#inhmethods">Inherited Methods</a>
206
207&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
208
209</div><!-- end sum-details-links -->
210</div><!-- end api-info-block -->
211
212<div class="api apilevel-" id="jd-content">
213
214<!-- ======== START OF CLASS DATA ======== -->
215
216<h1 class="api-title">AdapterDataLoaderAction</h1>
217<p>
218<code class="api-signature">
219  public
220
221  final
222
223  class
224  AdapterDataLoaderAction
225</code>
226<br>
227
228
229<code class="api-signature">
230
231    extends Object
232
233
234
235</code>
236
237<code class="api-signature">
238
239
240      implements
241
242        <a href="/reference/android/support/test/espresso/ViewAction.html">ViewAction</a>
243
244
245
246</code>
247
248</p><table class="jd-inheritance-table">
249
250
251  <tr>
252
253    <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object
254    </td>
255  </tr>
256
257
258  <tr>
259
260      <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
261
262    <td colspan="1" class="jd-inheritance-class-cell">android.support.test.espresso.action.AdapterDataLoaderAction
263    </td>
264  </tr>
265
266
267</table>
268
269
270
271
272<br><hr>
273
274
275  <p>Forces an AdapterView to ensure that the data matching a provided data matcher
276 is loaded into the current view hierarchy.
277
278</p>
279
280
281
282
283
284
285
286<h2 class="api-section">Summary</h2>
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310<!-- ======== CONSTRUCTOR SUMMARY ======== -->
311<table id="pubctors" class="responsive constructors">
312<tr><th colspan="2"><h3>Public constructors</h3></th></tr>
313
314
315
316
317  <tr class="api apilevel-" >
318
319
320    <td width="100%">
321      <code>
322      <a href="/reference/android/support/test/espresso/action/AdapterDataLoaderAction.html#AdapterDataLoaderAction(org.hamcrest.Matcher<? extends java.lang.Object>, com.google.common.base.Optional<java.lang.Integer>, android.support.test.espresso.action.AdapterViewProtocol)">AdapterDataLoaderAction</a>(Matcher&lt;?&nbsp;extends&nbsp;Object&gt; dataToLoadMatcher, Optional&lt;Integer&gt; atPosition, <a href="/reference/android/support/test/espresso/action/AdapterViewProtocol.html">AdapterViewProtocol</a> adapterViewProtocol)
323      </code>
324
325    </td>
326  </tr>
327
328
329
330</table>
331
332
333
334
335
336
337<!-- ========== METHOD SUMMARY =========== -->
338<table id="pubmethods" class="responsive methods">
339<tr><th colspan="2"><h3>Public methods</h3></th></tr>
340
341
342
343
344  <tr class="api apilevel-" >
345
346
347    <td><code>
348
349
350
351
352
353        <a href="/reference/android/support/test/espresso/action/AdapterViewProtocol.AdaptedData.html">AdapterViewProtocol.AdaptedData</a></code>
354    </td>
355
356    <td width="100%">
357      <code>
358      <a href="/reference/android/support/test/espresso/action/AdapterDataLoaderAction.html#getAdaptedData()">getAdaptedData</a>()
359      </code>
360
361    </td>
362  </tr>
363
364
365
366  <tr class="api apilevel-" >
367
368
369    <td><code>
370
371
372
373
374
375        Matcher&lt;View&gt;</code>
376    </td>
377
378    <td width="100%">
379      <code>
380      <a href="/reference/android/support/test/espresso/action/AdapterDataLoaderAction.html#getConstraints()">getConstraints</a>()
381      </code>
382
383        <p>A mechanism for ViewActions to specify what type of views they can operate on.
384
385
386</p>
387
388    </td>
389  </tr>
390
391
392
393  <tr class="api apilevel-" >
394
395
396    <td><code>
397
398
399
400
401
402        String</code>
403    </td>
404
405    <td width="100%">
406      <code>
407      <a href="/reference/android/support/test/espresso/action/AdapterDataLoaderAction.html#getDescription()">getDescription</a>()
408      </code>
409
410        <p>Returns a description of the view action.
411
412
413</p>
414
415    </td>
416  </tr>
417
418
419
420  <tr class="api apilevel-" >
421
422
423    <td><code>
424
425
426
427
428
429        void</code>
430    </td>
431
432    <td width="100%">
433      <code>
434      <a href="/reference/android/support/test/espresso/action/AdapterDataLoaderAction.html#perform(android.support.test.espresso.UiController, android.view.View)">perform</a>(<a href="/reference/android/support/test/espresso/UiController.html">UiController</a> uiController, View view)
435      </code>
436
437        <p>Performs this action on the given view.
438
439
440</p>
441
442    </td>
443  </tr>
444
445
446
447</table>
448
449
450
451
452
453
454
455<!-- ========== METHOD SUMMARY =========== -->
456<table id="inhmethods" class="methods inhtable">
457<tr><th><h3>Inherited methods</h3></th></tr>
458
459
460<tr class="api apilevel-" >
461<td colspan="2">
462
463  <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed"
464          ><img height="34" id="inherited-methods-java.lang.Object-trigger"
465          src="/assets/images/styles/disclosure_down.png"
466          class="jd-expando-trigger-img" /></a>From
467class
468<code>
469
470    java.lang.Object
471
472</code>
473<div id="inherited-methods-java.lang.Object">
474  <div id="inherited-methods-java.lang.Object-list"
475        class="jd-inheritedlinks">
476  </div>
477  <div id="inherited-methods-java.lang.Object-summary" style="display: none;">
478    <table class="jd-sumtable-expando responsive">
479
480
481
482
483  <tr class="api apilevel-" >
484
485
486    <td><code>
487
488
489
490
491
492        Object</code>
493    </td>
494
495    <td width="100%">
496      <code>
497      clone()
498      </code>
499
500    </td>
501  </tr>
502
503
504
505  <tr class="api apilevel-" >
506
507
508    <td><code>
509
510
511
512
513
514        boolean</code>
515    </td>
516
517    <td width="100%">
518      <code>
519      equals(Object arg0)
520      </code>
521
522    </td>
523  </tr>
524
525
526
527  <tr class="api apilevel-" >
528
529
530    <td><code>
531
532
533
534
535
536        void</code>
537    </td>
538
539    <td width="100%">
540      <code>
541      finalize()
542      </code>
543
544    </td>
545  </tr>
546
547
548
549  <tr class="api apilevel-" >
550
551
552    <td><code>
553
554
555
556        final
557
558        Class&lt;?&gt;</code>
559    </td>
560
561    <td width="100%">
562      <code>
563      getClass()
564      </code>
565
566    </td>
567  </tr>
568
569
570
571  <tr class="api apilevel-" >
572
573
574    <td><code>
575
576
577
578
579
580        int</code>
581    </td>
582
583    <td width="100%">
584      <code>
585      hashCode()
586      </code>
587
588    </td>
589  </tr>
590
591
592
593  <tr class="api apilevel-" >
594
595
596    <td><code>
597
598
599
600        final
601
602        void</code>
603    </td>
604
605    <td width="100%">
606      <code>
607      notify()
608      </code>
609
610    </td>
611  </tr>
612
613
614
615  <tr class="api apilevel-" >
616
617
618    <td><code>
619
620
621
622        final
623
624        void</code>
625    </td>
626
627    <td width="100%">
628      <code>
629      notifyAll()
630      </code>
631
632    </td>
633  </tr>
634
635
636
637  <tr class="api apilevel-" >
638
639
640    <td><code>
641
642
643
644
645
646        String</code>
647    </td>
648
649    <td width="100%">
650      <code>
651      toString()
652      </code>
653
654    </td>
655  </tr>
656
657
658
659  <tr class="api apilevel-" >
660
661
662    <td><code>
663
664
665
666        final
667
668        void</code>
669    </td>
670
671    <td width="100%">
672      <code>
673      wait(long arg0, int arg1)
674      </code>
675
676    </td>
677  </tr>
678
679
680
681  <tr class="api apilevel-" >
682
683
684    <td><code>
685
686
687
688        final
689
690        void</code>
691    </td>
692
693    <td width="100%">
694      <code>
695      wait(long arg0)
696      </code>
697
698    </td>
699  </tr>
700
701
702
703  <tr class="api apilevel-" >
704
705
706    <td><code>
707
708
709
710        final
711
712        void</code>
713    </td>
714
715    <td width="100%">
716      <code>
717      wait()
718      </code>
719
720    </td>
721  </tr>
722
723
724
725    </table>
726  </div>
727</div>
728</td></tr>
729
730
731
732<tr class="api apilevel-" >
733<td colspan="2">
734
735  <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-android.support.test.espresso.ViewAction" class="jd-expando-trigger closed"
736          ><img height="34" id="inherited-methods-android.support.test.espresso.ViewAction-trigger"
737          src="/assets/images/styles/disclosure_down.png"
738          class="jd-expando-trigger-img" /></a>From
739interface
740<code>
741
742    <a href="/reference/android/support/test/espresso/ViewAction.html">android.support.test.espresso.ViewAction</a>
743
744</code>
745<div id="inherited-methods-android.support.test.espresso.ViewAction">
746  <div id="inherited-methods-android.support.test.espresso.ViewAction-list"
747        class="jd-inheritedlinks">
748  </div>
749  <div id="inherited-methods-android.support.test.espresso.ViewAction-summary" style="display: none;">
750    <table class="jd-sumtable-expando responsive">
751
752
753
754
755  <tr class="api apilevel-" >
756
757
758    <td><code>
759        abstract
760
761
762
763
764        Matcher&lt;View&gt;</code>
765    </td>
766
767    <td width="100%">
768      <code>
769      <a href="/reference/android/support/test/espresso/ViewAction.html#getConstraints()">getConstraints</a>()
770      </code>
771
772        <p>A mechanism for ViewActions to specify what type of views they can operate on.
773
774
775</p>
776
777    </td>
778  </tr>
779
780
781
782  <tr class="api apilevel-" >
783
784
785    <td><code>
786        abstract
787
788
789
790
791        String</code>
792    </td>
793
794    <td width="100%">
795      <code>
796      <a href="/reference/android/support/test/espresso/ViewAction.html#getDescription()">getDescription</a>()
797      </code>
798
799        <p>Returns a description of the view action.
800
801
802</p>
803
804    </td>
805  </tr>
806
807
808
809  <tr class="api apilevel-" >
810
811
812    <td><code>
813        abstract
814
815
816
817
818        void</code>
819    </td>
820
821    <td width="100%">
822      <code>
823      <a href="/reference/android/support/test/espresso/ViewAction.html#perform(android.support.test.espresso.UiController, android.view.View)">perform</a>(<a href="/reference/android/support/test/espresso/UiController.html">UiController</a> uiController, View view)
824      </code>
825
826        <p>Performs this action on the given view.
827
828
829</p>
830
831    </td>
832  </tr>
833
834
835
836    </table>
837  </div>
838</div>
839</td></tr>
840
841
842</table>
843
844
845
846<!-- XML Attributes -->
847
848
849<!-- Enum Values -->
850
851
852<!-- Constants -->
853
854
855<!-- Fields -->
856
857
858<!-- Public ctors -->
859
860
861<!-- ========= CONSTRUCTOR DETAIL ======== -->
862<h2 class="api-section">Public constructors</h2>
863
864
865
866<A NAME="AdapterDataLoaderAction(org.hamcrest.Matcher<? extends java.lang.Object>, com.google.common.base.Optional<java.lang.Integer>, android.support.test.espresso.action.AdapterViewProtocol)"></A>
867
868<div class="api apilevel-">
869    <h3 class="api-name">AdapterDataLoaderAction</h3>
870    <div class="api-level">
871      <div></div>
872
873
874
875    </div>
876<pre class="api-signature no-pretty-print">
877AdapterDataLoaderAction (Matcher&lt;?&nbsp;extends&nbsp;Object&gt; dataToLoadMatcher,
878                Optional&lt;Integer&gt; atPosition,
879                <a href="/reference/android/support/test/espresso/action/AdapterViewProtocol.html">AdapterViewProtocol</a> adapterViewProtocol)</pre>
880
881
882
883
884  <p></p>
885    <table class="responsive">
886    <tr><th colspan=2>Parameters</th></tr>
887      <tr>
888        <td><code>dataToLoadMatcher</code></td>
889        <td width="100%">
890          <code>Matcher</code>
891          <!-- no parameter comment --></td>
892      </tr>
893      <tr>
894        <td><code>atPosition</code></td>
895        <td width="100%">
896          <code>Optional</code>
897          <!-- no parameter comment --></td>
898      </tr>
899      <tr>
900        <td><code>adapterViewProtocol</code></td>
901        <td width="100%">
902          <code>AdapterViewProtocol</code>
903          <!-- no parameter comment --></td>
904      </tr>
905    </table>
906
907</div>
908
909
910
911
912
913<!-- ========= CONSTRUCTOR DETAIL ======== -->
914<!-- Protected ctors -->
915
916
917
918<!-- ========= METHOD DETAIL ======== -->
919<!-- Public methdos -->
920
921<h2 class="api-section">Public methods</h2>
922
923
924
925<A NAME="getAdaptedData()"></A>
926
927<div class="api apilevel-">
928    <h3 class="api-name">getAdaptedData</h3>
929    <div class="api-level">
930      <div></div>
931
932
933
934    </div>
935<pre class="api-signature no-pretty-print">
936<a href="/reference/android/support/test/espresso/action/AdapterViewProtocol.AdaptedData.html">AdapterViewProtocol.AdaptedData</a> getAdaptedData ()</pre>
937
938
939
940
941  <p></p>
942    <table class="responsive">
943      <tr><th colspan=2>Returns</th></tr>
944      <tr>
945        <td><code><a href="/reference/android/support/test/espresso/action/AdapterViewProtocol.AdaptedData.html">AdapterViewProtocol.AdaptedData</a></code></td>
946        <td width="100%"><!-- no returns description in source --></td>
947      </tr>
948    </table>
949
950</div>
951
952
953<A NAME="getConstraints()"></A>
954
955<div class="api apilevel-">
956    <h3 class="api-name">getConstraints</h3>
957    <div class="api-level">
958      <div></div>
959
960
961
962    </div>
963<pre class="api-signature no-pretty-print">
964Matcher&lt;View&gt; getConstraints ()</pre>
965
966
967
968
969  <p>A mechanism for ViewActions to specify what type of views they can operate on.
970
971 A ViewAction can demand that the view passed to perform meets certain constraints. For example
972 it may want to ensure the view is already in the viewable physical screen of the device or is
973 of a certain type.</p>
974    <table class="responsive">
975      <tr><th colspan=2>Returns</th></tr>
976      <tr>
977        <td><code>Matcher&lt;View&gt;</code></td>
978        <td width="100%">a <a href="http://hamcrest.org/JavaHamcrest/javadoc/1.3/org/hamcrest/Matcher.html">
979     <code>Matcher</code></a> that will be tested prior to calling perform.
980</td>
981      </tr>
982    </table>
983
984</div>
985
986
987<A NAME="getDescription()"></A>
988
989<div class="api apilevel-">
990    <h3 class="api-name">getDescription</h3>
991    <div class="api-level">
992      <div></div>
993
994
995
996    </div>
997<pre class="api-signature no-pretty-print">
998String getDescription ()</pre>
999
1000
1001
1002
1003  <p>Returns a description of the view action. The description should not be overly long and should
1004 fit nicely in a sentence like: "performing %description% action on view with id ..."
1005</p>
1006    <table class="responsive">
1007      <tr><th colspan=2>Returns</th></tr>
1008      <tr>
1009        <td><code>String</code></td>
1010        <td width="100%"><!-- no returns description in source --></td>
1011      </tr>
1012    </table>
1013
1014</div>
1015
1016
1017<A NAME="perform(android.support.test.espresso.UiController, android.view.View)"></A>
1018
1019<div class="api apilevel-">
1020    <h3 class="api-name">perform</h3>
1021    <div class="api-level">
1022      <div></div>
1023
1024
1025
1026    </div>
1027<pre class="api-signature no-pretty-print">
1028void perform (<a href="/reference/android/support/test/espresso/UiController.html">UiController</a> uiController,
1029                View view)</pre>
1030
1031
1032
1033
1034  <p>Performs this action on the given view.</p>
1035    <table class="responsive">
1036    <tr><th colspan=2>Parameters</th></tr>
1037      <tr>
1038        <td><code>uiController</code></td>
1039        <td width="100%">
1040          <code>UiController</code>:
1041          the controller to use to interact with the UI.</td>
1042      </tr>
1043      <tr>
1044        <td><code>view</code></td>
1045        <td width="100%">
1046          <code>View</code>:
1047          the view to act upon. never null.
1048</td>
1049      </tr>
1050    </table>
1051
1052</div>
1053
1054
1055
1056
1057
1058<!-- ========= METHOD DETAIL ======== -->
1059
1060
1061
1062<!-- ========= END OF CLASS DATA ========= -->
1063
1064</div><!-- end jd-content -->
1065
1066
1067
1068<div class="data-reference-resources-wrapper">
1069
1070  <ul data-reference-resources>
1071
1072
1073    <li><h2>Interfaces</h2>
1074      <ul>
1075          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/AdapterViewProtocol.html">AdapterViewProtocol</a></li>
1076          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/AdapterViewProtocol.DataFunction.html">AdapterViewProtocol.DataFunction</a></li>
1077          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/CoordinatesProvider.html">CoordinatesProvider</a></li>
1078          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/PrecisionDescriber.html">PrecisionDescriber</a></li>
1079          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/Swiper.html">Swiper</a></li>
1080          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/Tapper.html">Tapper</a></li>
1081      </ul>
1082    </li>
1083
1084    <li><h2>Classes</h2>
1085      <ul>
1086          <li class="selected api apilevel-"><a href="/reference/android/support/test/espresso/action/AdapterDataLoaderAction.html">AdapterDataLoaderAction</a></li>
1087          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/AdapterViewProtocol.AdaptedData.html">AdapterViewProtocol.AdaptedData</a></li>
1088          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/AdapterViewProtocol.AdaptedData.Builder.html">AdapterViewProtocol.AdaptedData.Builder</a></li>
1089          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/AdapterViewProtocols.html">AdapterViewProtocols</a></li>
1090          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/CloseKeyboardAction.html">CloseKeyboardAction</a></li>
1091          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/EditorAction.html">EditorAction</a></li>
1092          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/EspressoKey.html">EspressoKey</a></li>
1093          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/EspressoKey.Builder.html">EspressoKey.Builder</a></li>
1094          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/GeneralClickAction.html">GeneralClickAction</a></li>
1095          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/GeneralSwipeAction.html">GeneralSwipeAction</a></li>
1096          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/KeyEventAction.html">KeyEventAction</a></li>
1097          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/MotionEvents.html">MotionEvents</a></li>
1098          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/MotionEvents.DownResultHolder.html">MotionEvents.DownResultHolder</a></li>
1099          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/OpenLinkAction.html">OpenLinkAction</a></li>
1100          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/ReplaceTextAction.html">ReplaceTextAction</a></li>
1101          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/ScrollToAction.html">ScrollToAction</a></li>
1102          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/TypeTextAction.html">TypeTextAction</a></li>
1103          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/ViewActions.html">ViewActions</a></li>
1104      </ul>
1105    </li>
1106
1107    <li><h2>Enums</h2>
1108      <ul>
1109          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/GeneralLocation.html">GeneralLocation</a></li>
1110          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/Press.html">Press</a></li>
1111          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/Swipe.html">Swipe</a></li>
1112          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/Swiper.Status.html">Swiper.Status</a></li>
1113          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/Tap.html">Tap</a></li>
1114          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/action/Tapper.Status.html">Tapper.Status</a></li>
1115      </ul>
1116    </li>
1117
1118
1119  </ul>
1120
1121</div>
1122
1123
1124
1125</body>
1126</html>
1127