待辦事項 #39002

Execute constructor after layout phase

啟用日期: 2019-03-02 14:11 最後更新: 2019-03-02 16:45

回報者:
負責人:
類型:
狀態:
關閉
元件:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:

細節

The constructor of the view component must be executed after layout phase. But current implementation execute it before layout phase.

Ticket History (3/6 Histories)

2019-03-02 14:11 Updated by: steelwheels
  • New Ticket "Execute constructor after layout" created
2019-03-02 14:11 Updated by: steelwheels
  • 處理結果 Update from to Accepted
2019-03-02 14:12 Updated by: steelwheels
  • Summary Updated
2019-03-02 14:22 Updated by: steelwheels
評語

The layout phase is executed in "viewWillAppear" method of "KCSingleViewController". So, the constructor must be executed "viewWillAppear" method of "AMCSingleViewController".

2019-03-02 16:45 Updated by: steelwheels
  • 處理結果 Update from Accepted to 修正
評語

Fixed by following commit:

commit 56adcd46eddce0e476e8a1f3af33973eef00f276 (HEAD -> master, origin/master, origin/HEAD)
Author: Steel Wheels Project <wheel@tcn.zaq.ne.jp>
Date:   Sat Mar 2 16:42:35 2019 +0900

    AmberComponent: Fix execution timing to execute constructor of view component
    
    By this modification, the constructor of view component is executed

2019-03-02 16:45 Updated by: steelwheels
  • 狀態 Update from 開啟 to 關閉

Attachment File List

No attachments

編輯

Please login to add comment to this ticket » 登入