private void Run(Handler handler) { currentProgress += 1; hud.SetProgress(currentProgress); if (currentProgress == 80) { hud.SetLabel("Almost finish..."); } if (currentProgress < 100) { handler.PostDelayed(() => Run(handler), 10); } }
public void SetProgress(uint value) { _progress.SetProgress((int)value); }