Get Version is the first function is called?

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!

posted on 2014-01-16 18:19  liwp_Stephen  阅读(206)  评论(0编辑  收藏  举报

导航