首页 > 其他 > 详细

Get Version is the first function is called?

时间:2014-01-17 08:59:14      阅读:375      评论:0      收藏:0      [点我收藏+]

Today, I am debug an issue, when user opan the About dialog, some function will disappear from the UI.

It’s very strange, because About dialog should has no relate with other functions.

After debug from UI and Backend side, and add some log, and find the reason.

Because the UI save some cache in backend, and the original developer want to clear the cache when user login or refresh the UI, so they think that get version is the first function is called.

But this is true?

 

In the About dialog, it also show the version, and this dialog can open at anytime.

 

Sometimes, we always think that our thinking is true, but sometimes it might not true.

When we add some codes, we need to think it carefully!

Get Version is the first function is called?

原文:http://www.cnblogs.com/liwp_Stephen/p/3522999.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!