Ejemplo n.º 1
0
        public virtual async Task <bool> ShowModal(Type view, RgModalPresentationAttribute attribute,
                                                   MvxViewModelRequest request)
        {
            var page = CreatePage(view, request, attribute) as MvxPopupPage;

            await PopupNavigation.PushAsync(page, attribute.Animated);

            return(true);
        }
Ejemplo n.º 2
0
        public virtual async Task <bool> CloseModal(IMvxViewModel viewModel, RgModalPresentationAttribute attribute)
        {
            await PopupNavigation.PopAsync(attribute.Animated);

            return(true);
        }