protected async override void OnAppearing()
        {
            base.OnAppearing();
            //myIndicator.IsRunning = true;

            listRestaurant.ItemsSource = await restoService.GetAllData();

            //myIndicator.IsRunning = false;
            //myIndicator.IsVisible = false;
        }
        private async void BtnIsiData_Clicked(object sender, EventArgs e)
        {
            try
            {
                var dataMaster = await myRestoService.GetAllData();

                foreach (var data in dataMaster)
                {
                    var newData = new RestaurantSqlite()
                    {
                        categoryid     = data.categoryid,
                        namarestaurant = data.namarestaurant,
                        restaurantid   = data.restaurantid
                    };
                    myDataAccess.InsertData(newData);
                }
                await DisplayAlert("Keterangan", "Berhasil menambah data pada Sqlite", "OK");
            }
            catch (Exception ex)
            {
                await DisplayAlert("Kesalahan", $"Kesalahan {ex.Message}", "OK");
            }
        }