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>NavigationViewActions</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<div class="sum-details-links">
177
178Summary:
179
180
181
182
183
184
185
186
187
188
189
190  <a href="#pubmethods">Methods</a>
191
192
193
194
195  &#124; <a href="#inhmethods">Inherited Methods</a>
196
197&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
198
199</div><!-- end sum-details-links -->
200</div><!-- end api-info-block -->
201
202<div class="api apilevel-" id="jd-content">
203
204<!-- ======== START OF CLASS DATA ======== -->
205
206<h1 class="api-title">NavigationViewActions</h1>
207<p>
208<code class="api-signature">
209  public
210
211  final
212
213  class
214  NavigationViewActions
215</code>
216<br>
217
218
219<code class="api-signature">
220
221    extends Object
222
223
224
225</code>
226
227<code class="api-signature">
228
229
230
231</code>
232
233</p><table class="jd-inheritance-table">
234
235
236  <tr>
237
238    <td colspan="2" class="jd-inheritance-class-cell">java.lang.Object
239    </td>
240  </tr>
241
242
243  <tr>
244
245      <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
246
247    <td colspan="1" class="jd-inheritance-class-cell">android.support.test.espresso.contrib.NavigationViewActions
248    </td>
249  </tr>
250
251
252</table>
253
254
255
256
257<br><hr>
258
259
260  <p>View actions for interacting with <code><a href="/reference/android/support/design/widget/NavigationView.html">NavigationView</a></code>
261</p>
262
263
264
265
266
267
268
269<h2 class="api-section">Summary</h2>
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297<!-- ========== METHOD SUMMARY =========== -->
298<table id="pubmethods" class="responsive methods">
299<tr><th colspan="2"><h3>Public methods</h3></th></tr>
300
301
302
303
304  <tr class="api apilevel-" >
305
306
307    <td><code>
308
309
310        static
311
312
313        <a href="/reference/android/support/test/espresso/ViewAction.html">ViewAction</a></code>
314    </td>
315
316    <td width="100%">
317      <code>
318      <a href="/reference/android/support/test/espresso/contrib/NavigationViewActions.html#navigateTo(int)">navigateTo</a>(int menuItemId)
319      </code>
320
321        <p>Returns a <code><a href="/reference/android/support/test/espresso/ViewAction.html">ViewAction</a></code> that navigates to a menu item in <code><a href="/reference/android/support/design/widget/NavigationView.html">NavigationView</a></code> using a
322 menu item resource id.
323
324
325</p>
326
327    </td>
328  </tr>
329
330
331
332</table>
333
334
335
336
337
338
339
340<!-- ========== METHOD SUMMARY =========== -->
341<table id="inhmethods" class="methods inhtable">
342<tr><th><h3>Inherited methods</h3></th></tr>
343
344
345<tr class="api apilevel-" >
346<td colspan="2">
347
348  <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed"
349          ><img height="34" id="inherited-methods-java.lang.Object-trigger"
350          src="/assets/images/styles/disclosure_down.png"
351          class="jd-expando-trigger-img" /></a>From
352class
353<code>
354
355    java.lang.Object
356
357</code>
358<div id="inherited-methods-java.lang.Object">
359  <div id="inherited-methods-java.lang.Object-list"
360        class="jd-inheritedlinks">
361  </div>
362  <div id="inherited-methods-java.lang.Object-summary" style="display: none;">
363    <table class="jd-sumtable-expando responsive">
364
365
366
367
368  <tr class="api apilevel-" >
369
370
371    <td><code>
372
373
374
375
376
377        Object</code>
378    </td>
379
380    <td width="100%">
381      <code>
382      clone()
383      </code>
384
385    </td>
386  </tr>
387
388
389
390  <tr class="api apilevel-" >
391
392
393    <td><code>
394
395
396
397
398
399        boolean</code>
400    </td>
401
402    <td width="100%">
403      <code>
404      equals(Object arg0)
405      </code>
406
407    </td>
408  </tr>
409
410
411
412  <tr class="api apilevel-" >
413
414
415    <td><code>
416
417
418
419
420
421        void</code>
422    </td>
423
424    <td width="100%">
425      <code>
426      finalize()
427      </code>
428
429    </td>
430  </tr>
431
432
433
434  <tr class="api apilevel-" >
435
436
437    <td><code>
438
439
440
441        final
442
443        Class&lt;?&gt;</code>
444    </td>
445
446    <td width="100%">
447      <code>
448      getClass()
449      </code>
450
451    </td>
452  </tr>
453
454
455
456  <tr class="api apilevel-" >
457
458
459    <td><code>
460
461
462
463
464
465        int</code>
466    </td>
467
468    <td width="100%">
469      <code>
470      hashCode()
471      </code>
472
473    </td>
474  </tr>
475
476
477
478  <tr class="api apilevel-" >
479
480
481    <td><code>
482
483
484
485        final
486
487        void</code>
488    </td>
489
490    <td width="100%">
491      <code>
492      notify()
493      </code>
494
495    </td>
496  </tr>
497
498
499
500  <tr class="api apilevel-" >
501
502
503    <td><code>
504
505
506
507        final
508
509        void</code>
510    </td>
511
512    <td width="100%">
513      <code>
514      notifyAll()
515      </code>
516
517    </td>
518  </tr>
519
520
521
522  <tr class="api apilevel-" >
523
524
525    <td><code>
526
527
528
529
530
531        String</code>
532    </td>
533
534    <td width="100%">
535      <code>
536      toString()
537      </code>
538
539    </td>
540  </tr>
541
542
543
544  <tr class="api apilevel-" >
545
546
547    <td><code>
548
549
550
551        final
552
553        void</code>
554    </td>
555
556    <td width="100%">
557      <code>
558      wait(long arg0, int arg1)
559      </code>
560
561    </td>
562  </tr>
563
564
565
566  <tr class="api apilevel-" >
567
568
569    <td><code>
570
571
572
573        final
574
575        void</code>
576    </td>
577
578    <td width="100%">
579      <code>
580      wait(long arg0)
581      </code>
582
583    </td>
584  </tr>
585
586
587
588  <tr class="api apilevel-" >
589
590
591    <td><code>
592
593
594
595        final
596
597        void</code>
598    </td>
599
600    <td width="100%">
601      <code>
602      wait()
603      </code>
604
605    </td>
606  </tr>
607
608
609
610    </table>
611  </div>
612</div>
613</td></tr>
614
615
616</table>
617
618
619
620<!-- XML Attributes -->
621
622
623<!-- Enum Values -->
624
625
626<!-- Constants -->
627
628
629<!-- Fields -->
630
631
632<!-- Public ctors -->
633
634
635
636<!-- ========= CONSTRUCTOR DETAIL ======== -->
637<!-- Protected ctors -->
638
639
640
641<!-- ========= METHOD DETAIL ======== -->
642<!-- Public methdos -->
643
644<h2 class="api-section">Public methods</h2>
645
646
647
648<A NAME="navigateTo(int)"></A>
649
650<div class="api apilevel-">
651    <h3 class="api-name">navigateTo</h3>
652    <div class="api-level">
653      <div></div>
654
655
656
657    </div>
658<pre class="api-signature no-pretty-print">
659<a href="/reference/android/support/test/espresso/ViewAction.html">ViewAction</a> navigateTo (int menuItemId)</pre>
660
661
662
663
664  <p>Returns a <code><a href="/reference/android/support/test/espresso/ViewAction.html">ViewAction</a></code> that navigates to a menu item in <code><a href="/reference/android/support/design/widget/NavigationView.html">NavigationView</a></code> using a
665 menu item resource id.
666
667 <p> View constraints: <ul> <li>View must be a child of a <code><a href="/reference/android/support/v4/widget/DrawerLayout.html">DrawerLayout</a></code> <li>View must be
668 of type <code><a href="/reference/android/support/design/widget/NavigationView.html">NavigationView</a></code> <li>View must be visible on screen <li>View must be displayed on
669 screen <ul></p>
670    <table class="responsive">
671    <tr><th colspan=2>Parameters</th></tr>
672      <tr>
673        <td><code>menuItemId</code></td>
674        <td width="100%">
675          <code>int</code>:
676          the resource id of the menu item</td>
677      </tr>
678    </table>
679    <table class="responsive">
680      <tr><th colspan=2>Returns</th></tr>
681      <tr>
682        <td><code><a href="/reference/android/support/test/espresso/ViewAction.html">ViewAction</a></code></td>
683        <td width="100%">a <code><a href="/reference/android/support/test/espresso/ViewAction.html">ViewAction</a></code> that navigates on a menu item
684</td>
685      </tr>
686    </table>
687
688</div>
689
690
691
692
693
694<!-- ========= METHOD DETAIL ======== -->
695
696
697
698<!-- ========= END OF CLASS DATA ========= -->
699
700</div><!-- end jd-content -->
701
702
703
704<div class="data-reference-resources-wrapper">
705
706  <ul data-reference-resources>
707
708
709    <li><h2>Interfaces</h2>
710      <ul>
711          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/contrib/RecyclerViewActions.PositionableRecyclerViewAction.html">RecyclerViewActions.PositionableRecyclerViewAction</a></li>
712      </ul>
713    </li>
714
715    <li><h2>Classes</h2>
716      <ul>
717          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/contrib/AccessibilityChecks.html">AccessibilityChecks</a></li>
718          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/contrib/CountingIdlingResource.html">CountingIdlingResource</a></li>
719          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/contrib/DrawerActions.html">DrawerActions</a></li>
720          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/contrib/DrawerMatchers.html">DrawerMatchers</a></li>
721          <li class="selected api apilevel-"><a href="/reference/android/support/test/espresso/contrib/NavigationViewActions.html">NavigationViewActions</a></li>
722          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/contrib/PickerActions.html">PickerActions</a></li>
723          <li class="api apilevel-"><a href="/reference/android/support/test/espresso/contrib/RecyclerViewActions.html">RecyclerViewActions</a></li>
724      </ul>
725    </li>
726
727
728
729  </ul>
730
731</div>
732
733
734
735</body>
736</html>
737