public async void InitializeAsync()
        {
            ms       = new MemoryService();
            ItemList = await ms.GetAllItems();

            checkList();
        }
Example #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
            };
        }