protected override void ClearUIComponents()
 {
     UICompletedTodoitem = null;
     Content             = null;
     BtnBack             = null;
     mData = null;
 }
Пример #2
0
        void onDataChanged()
        {
            Content.DestroyAllChild();

            mData.Model.mTodoitem.Where(item => item.Completed).ForEach(item =>
            {
                UICompletedTodoitem.Instantiate()
                .Parent(Content)
                .LocalIdentity()
                .ApplySelfTo((self) => self.Init(item))
                .Show();
            });
        }