public virtual void InitializeTodoItem(TodoItemViewModel viewModel)
 {
     // This is called when a TodoItemViewModel is created
     viewModel.BtnFinishClicked.Action  = this.BtnFinishClickedHandler;
     viewModel.BtnRestoreClicked.Action = this.BtnRestoreClickedHandler;
     viewModel.BtnDeleteClicked.Action  = this.BtnDeleteClickedHandler;
     viewModel.TodoItemClicked.Action   = this.TodoItemClickedHandler;
     TodoItemViewModelManager.Add(viewModel);
 }
 public override void DisposingViewModel(uFrame.MVVM.ViewModel viewModel)
 {
     base.DisposingViewModel(viewModel);
     TodoItemViewModelManager.Remove(viewModel);
 }