Esempio n. 1
0
        // use the message specified in the layout XML
        public static void StartProgress(ProgressSpinnerView progressBar, Window window, bool indeterminateProgress = true)
        {
            progressBar.Progress = 0;
            progressBar.SlideDown(indeterminateProgress);

            // disable the UI
            window.SetFlags(WindowManagerFlags.NotTouchable, WindowManagerFlags.NotTouchable);
        }