任务单 #39002

Execute constructor after layout phase

开放日期: 2019-03-02 14:11 最后更新: 2019-03-02 16:45

报告人:
属主:
类型:
状态:
关闭
组件:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:

Details

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

任务单历史 (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
评论

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 » 登录名