* added method for getting the currently visible screen ID. Can be useful to decide if logic should be applied according to screen visibility, for example: set buttons/title dynamically, or even determine that you don’t need to show the same screen again if it’s the current one that’s showing * Implement getCurrentlyVisibleScreenId on Android Can be used statically: Navigation.getCurrentlyVisibleScreenId() - returns the unique screen instance id With a navigator instance: await this.props.navigator.screenIsCurrentlyVisible() - resolves a promise that checks if the current screen is visible
|
|
||
263 |
|
263 |
|
264 |
|
264 |
|
265 |
|
265 |
|
|
266 |
|
|
|
267 |
|
|
|
268 |
|
|
|
269 |
|
|
|
270 |
|
|
266 |
|
271 |
|
|
|
||
96 |
|
96 |
|
97 |
|
97 |
|
98 |
|
98 |
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
99 |
|
103 |
|
100 |
|
104 |
|
101 |
|
105 |
|
|
|
||
183 |
|
183 |
|
184 |
|
184 |
|
185 |
|
185 |
|
|
186 |
|
|
|
187 |
|
|
|
188 |
|
|
|
189 |
|
|
186 |
|
190 |
|
|
|
||
392 |
|
392 |
|
393 |
|
393 |
|
394 |
|
394 |
|
395 |
|
|
|
396 |
|
|
|
|
395 |
|
|
397 |
|
396 |
|
398 |
|
397 |
|
399 |
|
398 |
|
|
|
||
449 |
|
448 |
|
450 |
|
449 |
|
451 |
|
450 |
|
|
451 |
|
|
|
452 |
|
|
|
453 |
|
|
|
454 |
|
|
452 |
|
455 |
|
|
|
||
3 |
|
3 |
|
4 |
|
4 |
|
5 |
|
5 |
|
|
6 |
|
|
6 |
|
7 |
|
7 |
|
8 |
|
|
9 |
|
|
8 |
|
10 |
|
9 |
|
11 |
|
10 |
|
12 |
|
|
|
||
540 |
|
542 |
|
541 |
|
543 |
|
542 |
|
544 |
|
|
545 |
|
|
|
546 |
|
|
|
547 |
|
|
|
548 |
|
|
|
549 |
|
|
|
550 |
|
|
|
551 |
|
|
|
552 |
|
|
|
553 |
|
|
|
554 |
|
|
|
555 |
|
|
|
556 |
|
|
|
557 |
|
|
|
558 |
|
|
|
559 |
|
|
|
560 |
|
|
543 |
|
561 |
|
|
|
||
211 |
|
211 |
|
212 |
|
212 |
|
213 |
|
213 |
|
|
214 |
|
|
|
215 |
|
|
|
216 |
|
|
|
217 |
|
|
|
218 |
|
|
214 |
|
219 |
|
215 |
|
220 |
|
216 |
|
221 |
|
|
|
||
66 |
|
66 |
|
67 |
|
67 |
|
68 |
|
68 |
|
|
69 |
|
|
|
70 |
|
|
69 |
|
71 |
|
|
|
||
274 |
|
274 |
|
275 |
|
275 |
|
276 |
|
276 |
|
|
277 |
|
|
|
278 |
|
|
|
279 |
|
|
|
280 |
|
|
|
281 |
|
|
277 |
|
282 |
|
278 |
|
283 |
|
279 |
|
284 |
|
|
|
||
15 |
|
15 |
|
16 |
|
16 |
|
17 |
|
17 |
|
|
18 |
|
|
18 |
|
19 |
|
19 |
|
20 |
|
20 |
|
21 |
|
|
|
||
1 |
|
1 |
|
|
2 |
|
|
2 |
|
3 |
|
3 |
|
4 |
|
4 |
|
5 |
|
|
|
||
116 |
|
117 |
|
117 |
|
118 |
|
118 |
|
119 |
|
|
120 |
|
|
|
121 |
|
|
|
122 |
|
|
|
123 |
|
|
|
124 |
|
|
|
125 |
|
|
|
126 |
|
|
|
127 |
|
|
|
128 |
|
|
|
129 |
|
|
|
130 |
|
|
|
131 |
|
|
|
132 |
|
|
|
133 |
|
|
|
134 |
|
|
|
135 |
|
|
|
136 |
|
|
|
137 |
|
|
|
138 |
|
|
|
139 |
|
|
|
140 |
|
|
|
141 |
|
|
|
142 |
|
|
|
143 |
|
|
|
144 |
|
|
|
145 |
|
|
119 |
|
146 |
|
120 |
|
147 |
|
121 |
|
148 |
|
|
|
||
351 |
|
351 |
|
352 |
|
352 |
|
353 |
|
353 |
|
|
354 |
|
|
|
355 |
|
|
|
356 |
|
|
|
357 |
|
|
|
358 |
|
|
|
359 |
|
|
|
360 |
|
|
|
361 |
|
|
|
362 |
|
|
|
363 |
|
|
|
364 |
|
|
|
365 |
|
|
|
366 |
|
|
|
367 |
|
|
|
368 |
|
|
|
369 |
|
|
|
370 |
|
|
|
371 |
|
|
|
372 |
|
|
|
373 |
|
|
|
374 |
|
|
|
375 |
|
|
|
376 |
|
|
|
377 |
|
|
|
378 |
|
|
|
379 |
|
|
|
380 |
|
|
|
381 |
|
|
|
382 |
|
|
354 |
|
383 |
|
355 |
|
384 |
|
356 |
|
385 |
|
|
|
||
34 |
|
34 |
|
35 |
|
35 |
|
36 |
|
36 |
|
|
37 |
|
|
37 |
|
38 |
|
38 |
|
39 |
|
39 |
|
40 |
|
|
|
||
106 |
|
107 |
|
107 |
|
108 |
|
108 |
|
109 |
|
|
110 |
|
|
109 |
|
111 |
|
110 |
|
112 |
|
111 |
|
113 |
|
|
|
||
213 |
|
215 |
|
214 |
|
216 |
|
215 |
|
217 |
|
|
218 |
|
|
216 |
|
219 |
|
217 |
|
220 |
|
218 |
|
221 |
|
|
|
||
15 |
|
15 |
|
16 |
|
16 |
|
17 |
|
17 |
|
|
18 |
|
|
18 |
|
19 |
|
19 |
|
20 |
|
20 |
|
21 |
|
|
|
||
94 |
|
94 |
|
95 |
|
95 |
|
96 |
|
96 |
|
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
97 |
|
102 |
|
98 |
|
103 |
|
99 |
|
104 |
|
|
|
||
166 |
|
166 |
|
167 |
|
167 |
|
168 |
|
168 |
|
|
169 |
|
|
|
170 |
|
|
|
171 |
|
|
|
172 |
|
|
169 |
|
173 |
|
170 |
|
174 |
|
|
175 |
|
|
171 |
|
176 |
|
172 |
|
177 |
|
173 |
|
178 |
|
|
|
||
165 |
|
165 |
|
166 |
|
166 |
|
167 |
|
167 |
|
|
168 |
|
|
|
169 |
|
|
|
170 |
|
|
|
171 |
|
|
|
172 |
|
|
|
173 |
|
|
|
174 |
|
|
|
175 |
|
|
168 |
|
176 |
|
169 |
|
177 |
|
170 |
|
178 |
|
|
|
||
313 |
|
313 |
|
314 |
|
314 |
|
315 |
|
315 |
|
|
316 |
|
|
|
317 |
|
|
|
318 |
|
|
|
319 |
|
|
|
320 |
|
|
|
321 |
|
|
316 |
|
322 |
|
317 |
|
323 |
|
318 |
|
324 |
|
|
|
||
688 |
|
688 |
|
689 |
|
689 |
|
690 |
|
690 |
|
|
691 |
|
|
|
692 |
|
|
|
693 |
|
|
|
694 |
|
|
691 |
|
695 |
|
692 |
|
696 |
|
693 |
|
697 |
|
|
|
||
718 |
|
722 |
|
719 |
|
723 |
|
720 |
|
724 |
|
721 |
|
|
|
|
725 |
|
|
|
726 |
|
|
722 |
|
727 |
|
|
|
||
1 |
|
1 |
|
2 |
|
2 |
|
3 |
|
|
|
|
3 |
|
|
4 |
|
4 |
|
5 |
|
5 |
|
6 |
|
6 |
|
|
|
||
620 |
|
620 |
|
621 |
|
621 |
|
622 |
|
622 |
|
|
623 |
|
|
|
624 |
|
|
|
625 |
|
|
|
626 |
|
|
623 |
|
627 |
|
624 |
|
628 |
|
625 |
|
629 |
|
|
|
||
647 |
|
651 |
|
648 |
|
652 |
|
649 |
|
653 |
|
650 |
|
|
|
|
654 |
|
|
|
655 |
|
|
651 |
|
656 |
|
|
|
||
181 |
|
181 |
|
182 |
|
182 |
|
183 |
|
183 |
|
|
184 |
|
|
|
185 |
|
|
|
186 |
|
|
|
187 |
|
|
184 |
|
188 |
|
185 |
|
189 |
|
186 |
|
190 |
|
|
|
||
215 |
|
219 |
|
216 |
|
220 |
|
217 |
|
221 |
|
218 |
|
|
|
|
222 |
|
|
|
223 |
|
|
219 |
|
224 |
|