public ARPostfixAwareViewToViewModelNameMapping(IViewLookupService viewLookupService, IViewModelLookupService viewModelLookupService, params string[] postfixes)
        {
            ViewModelLookupService = viewModelLookupService;
            ViewLookupService      = viewLookupService;

            _postfixes = postfixes;
        }
Example #2
0
        protected virtual void NavigateToDeeplinkFromPush(IViewModelLookupService vmLS, string deeplink)
        {
            deeplink.ParseDeeplink(out var urlScheme, out var routing, out var urlParameters);

            if (vmLS.IsRegisteredDeeplink(urlScheme))
            {
                Log.Verbose(PackageName, $"Deeplink was registered");

                System.Diagnostics.Debug.WriteLine(message: $"Deeplink was registered", category: PackageName);

                Mvx.CallbackWhenRegistered <IPushNotificationsService>(service =>
                {
                    service.NavigateTo(deeplink: deeplink);
                });
            }
        }
 public ARViewFinder(IViewLookupService viewLookupService, IViewModelLookupService viewModelLookupService)
 {
     _viewModelLookupService = viewModelLookupService;
     _viewLookupService      = viewLookupService;
 }