Exemplo n.º 1
0
 public virtual void OnViewCreated(View view, Bundle savedInstanceState, Action <View, Bundle> baseOnViewCreated)
 {
     if (!(Target is DialogFragment))
     {
         AndroidToolkitExtensions.NotifyActivityAttached(Target.Activity, view);
     }
     baseOnViewCreated(view, savedInstanceState);
 }
Exemplo n.º 2
0
        public virtual void OnStart(Action baseOnStart)
        {
            if (!_isStarted)
            {
                AndroidToolkitExtensions.NotifyActivityAttached(Target, _view);
                _isStarted = true;
            }
            baseOnStart();

            var service = Get <INavigationService>();

            service.OnStartActivity(Target, NavigationContext);
            Started?.Invoke(Target, EventArgs.Empty);
        }