public static async Task <Page> PushModalAsync <T>(this INavigation navigation, bool animated, Action <RxComponent> componentInitializer = null) where T : RxComponent, new()
        {
            var page = RxPageHost <T> .CreatePage(componentInitializer);

            await navigation.PushModalAsync(page, animated);

            return(page);
        }
Esempio n. 2
0
        public static async Task <Page> PushModalAsync <T>(this INavigation navigation) where T : RxComponent, new()
        {
            var page = RxPageHost <T> .CreatePage();

            await navigation.PushModalAsync(page);

            return(page);
        }
Esempio n. 3
0
        public static async Task <Page> PushModalAsync <T, P>(this INavigation navigation, bool animated, Action <P> propsInitializer) where T : RxComponent, new() where P : class, IProps, new()
        {
            var page = RxPageHost <T, P> .CreatePage(propsInitializer);

            await navigation.PushModalAsync(page, animated);

            return(page);
        }
Esempio n. 4
0
        public static async Task <Page> PushAsync <T, P>(this INavigation navigation, P props) where T : RxComponent, new() where P : class, IProps, new()
        {
            var page = RxPageHost <T, P> .CreatePage();

            await navigation.PushAsync(page);

            return(page);
        }