private void ResetButton_Click()

in src/ModernTacoShop/AndroidApp/AndroidApp.FrontEnd/MainActivity.cs [228:247]


        private void ResetButton_Click(object sender, EventArgs e)
        {
            // Start a new order, and reset the UI.

            TacoOrder = new TacoOrder();

            var orderFormLayout = FindViewById<ViewGroup>(Resource.Id.orderFormLayout);
            var orderStatusLayout = FindViewById<ViewGroup>(Resource.Id.orderStatusLayout);

            orderFormLayout.Visibility = ViewStates.Visible;
            orderStatusLayout.Visibility = ViewStates.Gone;

            var mapControl = FindViewById<MapControl>(Resource.Id.mapControl);
            mapControl.Visibility = ViewStates.Invisible;

            var resetButton = FindViewById<FloatingActionButton>(Resource.Id.resetButton);
            resetButton.Visibility = ViewStates.Gone;

            UpdateOrderFormUI();
        }