예제 #1
0
        public async void InitializeAsync()
        {
            ms       = new MemoryService();
            ItemList = await ms.GetAllItems();

            checkList();
        }
예제 #2
0
        protected override async void OnStart()
        {
            // Handle when your app starts
            InitialMS    = new MemoryService();
            InitialItems = await InitialMS.GetAllItems();

            MainPage = new NavigationPage(new OrderPage(InitialItems))
            {
                BackgroundColor    = Color.Transparent,
                BarTextColor       = Color.DarkOrange,
                BarBackgroundColor = Color.Transparent
            };
        }