Navigation execution entry point - 119

# Created by Jerry Wang, last modified on Jan 18, 2015

Set the breakpoint to the following two lines and they will be triggered once you perform navigation in UI:

![clipboard1](https://user-images.githubusercontent.com/5669954/27350678-4a98bc8a-55fb-11e7-82ab-2ed6c1d18ede.png)

The variable I in line 2457 contains navigation target:

![clipboard2](https://user-images.githubusercontent.com/5669954/27350679-4ab54cba-55fb-11e7-9bf6-2b855b231710.png)

 

拿到navigation target的ID:
![clipboard3](https://user-images.githubusercontent.com/5669954/27350680-4abe1890-55fb-11e7-849c-5b2f7f4d60a3.png)

 

fire一个navigation事件,source和target信息存放在变量n里:
![clipboard4](https://user-images.githubusercontent.com/5669954/27350683-4ac3e126-55fb-11e7-9922-fa32f8c8bfda.png)
然后就call renderManager开始绘制navigation target的UI:
![clipboard5](https://user-images.githubusercontent.com/5669954/27350681-4ac177f6-55fb-11e7-9f56-7d7636180ae7.png)


猜你喜欢

转载自blog.csdn.net/i042416/article/details/93304100
119