Пример #1
0
        protected void TryListenController(INativeObject item)
        {
            var viewControllerView = item.FindParent <IViewControllerView>();

            if (viewControllerView != null)
            {
                InitializeListener();
                viewControllerView.Mediator.DisposeHandler += _listener.Handle;
            }
        }
 protected void TryListenController(INativeObject item)
 {
     var viewControllerView = item.FindParent<IViewControllerView>();
     if (viewControllerView != null)
     {
         InitializeListener();
         viewControllerView.Mediator.DisposeHandler += _listener.Handle;
     }
 }