protected override void ClearUIComponents() { UICompletedTodoitem = null; Content = null; BtnBack = null; mData = null; }
void onDataChanged() { Content.DestroyAllChild(); mData.Model.mTodoitem.Where(item => item.Completed).ForEach(item => { UICompletedTodoitem.Instantiate() .Parent(Content) .LocalIdentity() .ApplySelfTo((self) => self.Init(item)) .Show(); }); }