Currently options are applied when a view is visible. This caused some noticeable flickering when switching to tabs for the first time. This commit adds a new callback which ViewController can override - onAttachToParent. StackController now uses it to apply options which prevents flickering.
|
|
||
31 |
|
31 |
|
32 |
|
32 |
|
33 |
|
33 |
|
|
34 |
|
|
34 |
|
35 |
|
35 |
|
36 |
|
36 |
|
37 |
|
|
|
||
238 |
|
239 |
|
239 |
|
240 |
|
240 |
|
241 |
|
|
242 |
|
|
|
243 |
|
|
|
244 |
|
|
|
245 |
|
|
241 |
|
246 |
|
242 |
|
247 |
|
243 |
|
248 |
|
|
|
||
251 |
|
256 |
|
252 |
|
257 |
|
253 |
|
258 |
|
|
259 |
|
|
|
260 |
|
|
|
261 |
|
|
|
262 |
|
|
254 |
|
263 |
|
255 |
|
264 |
|
256 |
|
265 |
|
|
|
||
68 |
|
68 |
|
69 |
|
69 |
|
70 |
|
70 |
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
71 |
|
78 |
|
72 |
|
79 |
|
73 |
|
80 |
|
|
|
||
276 |
|
283 |
|
277 |
|
284 |
|
278 |
|
285 |
|
279 |
|
|
|
|
286 |
|
|
280 |
|
287 |
|
281 |
|
288 |
|
282 |
|
289 |
|
|
|
||
298 |
|
305 |
|
299 |
|
306 |
|
300 |
|
307 |
|
301 |
|
|
|
|
308 |
|
|
302 |
|
309 |
|
303 |
|
310 |
|
304 |
|
311 |
|
|
|
||
5 |
|
5 |
|
6 |
|
6 |
|
7 |
|
7 |
|
|
8 |
|
|
8 |
|
9 |
|
9 |
|
10 |
|
10 |
|
11 |
|
|
|
||
915 |
|
916 |
|
916 |
|
917 |
|
917 |
|
918 |
|
|
919 |
|
|
|
920 |
|
|
|
921 |
|
|
|
922 |
|
|
|
923 |
|
|
|
924 |
|
|
|
925 |
|
|
|
926 |
|
|
|
927 |
|
|
|
928 |
|
|
|
929 |
|
|
|
930 |
|
|
|
931 |
|
|
|
932 |
|
|
|
933 |
|
|
918 |
|
934 |
|
919 |
|
935 |
|
920 |
|
936 |
|